Skip to content

Commit fe954dd

Browse files
committed
bsb test
1 parent aa8faf0 commit fe954dd

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

scripts/ciTest.js

+11-2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ function init(){
7171
}
7272
}
7373

74+
7475
function main() {
7576
init()
7677

@@ -86,10 +87,18 @@ function main() {
8687
})
8788
cp.execSync(`./test.exe`,{cwd: binDir, stdio : [0,1,2]})
8889
}
89-
90+
9091
if(mochaTest){
91-
cp.execSync(`mocha jscomp/test/**/*test.js`,{cwd : path.join(__dirname,'..')})
92+
cp.execSync(`mocha jscomp/test/**/*test.js`,{cwd : path.join(__dirname,'..'), stdio : [0,1,2]})
9293
}
94+
95+
if(installGlobal){
96+
cp.execSync('npm i -g .', {cwd : path.join(__dirname, '..'), stdio: [0,1,2]})
97+
}
98+
99+
var bsbDir = cp.execSync(`bsb -where`, {cwd : path.join(__dirname, '..'), stdio : [0,1,2], encoding : 'utf8' })
100+
101+
console.log("BSBDIR:", bsbDir)
93102
}
94103

95104

0 commit comments

Comments
 (0)