File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,18 @@ if (process.argv.includes("-all")) {
36
36
}
37
37
38
38
async function runTests ( ) {
39
+ if ( formatTest ) {
40
+ cp . execSync ( "npm run checkFormat:all" , {
41
+ cwd : path . join ( __dirname , ".." ) ,
42
+ stdio : [ 0 , 1 , 2 ] ,
43
+ } ) ;
44
+
45
+ cp . execSync ( "bash scripts/check_format.sh" , {
46
+ cwd : path . join ( __dirname , ".." ) ,
47
+ stdio : [ 0 , 1 , 2 ] ,
48
+ } ) ;
49
+ }
50
+
39
51
if ( ounitTest ) {
40
52
cp . execSync ( path . join ( duneBinDir , "ounit_tests" ) , {
41
53
stdio : [ 0 , 1 , 2 ] ,
@@ -84,18 +96,6 @@ async function runTests() {
84
96
process . exit ( 1 ) ;
85
97
}
86
98
}
87
-
88
- if ( formatTest ) {
89
- cp . execSync ( "npm run checkFormat" , {
90
- cwd : path . join ( __dirname , ".." ) ,
91
- stdio : [ 0 , 1 , 2 ] ,
92
- } ) ;
93
-
94
- cp . execSync ( "bash scripts/check_format.sh" , {
95
- cwd : path . join ( __dirname , ".." ) ,
96
- stdio : [ 0 , 1 , 2 ] ,
97
- } ) ;
98
- }
99
99
}
100
100
101
101
runTests ( ) ;
You can’t perform that action at this time.
0 commit comments