[JS] Fix JPS tests with js part
This commit is contained in:
committed by
Space Team
parent
a0f86d8dd6
commit
8c014baa28
+1
-4
@@ -1,7 +1,4 @@
|
||||
c [sourceSetHolder]
|
||||
|
||||
pJvm [compilationAndSourceSetHolder, jvm]
|
||||
pJvm -> c [include]
|
||||
|
||||
pJs [compilationAndSourceSetHolder, js]
|
||||
pJs -> c [include]
|
||||
pJvm -> c [include]
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
use @Optional in JS
|
||||
remove @Optional from JS
|
||||
use @Optional in JVM
|
||||
remove @Optional from JVM
|
||||
add another @Optional in Common module
|
||||
+3
-38
@@ -1,31 +1,6 @@
|
||||
================ Step #1 use @Optional in JS =================
|
||||
================ Step #1 use @Optional in JVM =================
|
||||
|
||||
Building c
|
||||
Building pJs
|
||||
Compiling files:
|
||||
pJs/src/c.kt
|
||||
End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Declaration annotated with '@OptionalExpectation' can only be used in common module sources
|
||||
|
||||
================ Step #2 remove @Optional from JS =================
|
||||
|
||||
Building c
|
||||
Building pJs
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building pJvm
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
|
||||
================ Step #3 use @Optional in JVM =================
|
||||
|
||||
Building c
|
||||
Building pJs
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building pJvm
|
||||
Compiling files:
|
||||
pJvm/src/c.kt
|
||||
@@ -33,27 +8,17 @@ End of files
|
||||
Exit code: ABORT
|
||||
------------------------------------------
|
||||
COMPILATION FAILED
|
||||
Declaration annotated with '@OptionalExpectation' can only be used in common module sources
|
||||
|
||||
================ Step #4 remove @Optional from JVM =================
|
||||
================ Step #2 remove @Optional from JVM =================
|
||||
|
||||
Building c
|
||||
Building pJs
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
Building pJvm
|
||||
Exit code: NOTHING_DONE
|
||||
------------------------------------------
|
||||
|
||||
================ Step #5 add another @Optional in Common module =================
|
||||
================ Step #3 add another @Optional in Common module =================
|
||||
|
||||
Building c
|
||||
Building pJs
|
||||
Compiling files:
|
||||
c/src/b.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Building pJvm
|
||||
Compiling files:
|
||||
c/src/b.kt
|
||||
|
||||
-3
@@ -1,3 +0,0 @@
|
||||
// Should be an error: Declaration annotated with '@OptionalExpectation' can only be used in common module sources
|
||||
@Optional("BarJs")
|
||||
class BarJs
|
||||
-3
@@ -2,6 +2,3 @@ c [sourceSetHolder]
|
||||
|
||||
pJvm [compilationAndSourceSetHolder, jvm]
|
||||
pJvm -> c [include]
|
||||
|
||||
pJs [compilationAndSourceSetHolder, js]
|
||||
pJs -> c [include]
|
||||
|
||||
-11
@@ -1,17 +1,6 @@
|
||||
================ Step #1 =================
|
||||
|
||||
Building c
|
||||
Building pJs
|
||||
Cleaning output files:
|
||||
out/production/pJs/pJs.js
|
||||
out/production/pJs/pJs.meta.js
|
||||
out/production/pJs/pJs/root-package.kjsm
|
||||
End of files
|
||||
Compiling files:
|
||||
c/src/usage.kt
|
||||
End of files
|
||||
Exit code: OK
|
||||
------------------------------------------
|
||||
Building pJvm
|
||||
Cleaning output files:
|
||||
out/production/pJvm/META-INF/pJvm.kotlin_module
|
||||
|
||||
Reference in New Issue
Block a user