File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 5151 cat log2.txt | grep "Failed\|Passed"
5252 echo "testresult in v2"
5353 cat log3.txt | grep "Failed\|Passed"
54+ echo "testresult in v2(quickjs)"
55+ cat log4.txt | grep "Failed\|Passed"
5456
5557# unittest-osx-unity:
5658# runs-on: macos-latest
Original file line number Diff line number Diff line change @@ -292,4 +292,23 @@ export async function unityTest(cwd, unityPath) {
292292 const v2code = exec ( `${ cwd } /build/v2/Tester${ exeSuffix } -batchmode -nographics -logFile ${ cwd } /log3.txt` ) . code ;
293293
294294 assert . equal ( 0 , v2code ) ;
295+
296+ console . log ( '-------------------------With Full Wrapper test(quickjs)-------------------------' ) ;
297+ await runPuertsMake ( join ( cwd , '../../native_src' ) , {
298+ backend : 'quickjs' ,
299+ platform : platform ,
300+ config : 'Debug' ,
301+ arch : 'x64' ,
302+ websocket : 1
303+ } ) ;
304+
305+ rm ( "-rf" , `${ cwd } /Library/ScriptAssemblies` ) ;
306+
307+ console . log ( "[Puer] Building testplayer for v2" ) ;
308+ mkdir ( "-p" , `${ cwd } /build/v2` ) ;
309+ execUnityEditor ( `-executeMethod TestBuilder.BuildWindowsV2` ) ;
310+ console . log ( "[Puer] Running test in v2" ) ;
311+ const v2code_qjs = exec ( `${ cwd } /build/v2/Tester${ exeSuffix } -batchmode -nographics -logFile ${ cwd } /log4.txt` ) . code ;
312+
313+ assert . equal ( 0 , v2code_qjs ) ;
295314}
You can’t perform that action at this time.
0 commit comments