small fixes
This commit is contained in:
7
test.zr
7
test.zr
@@ -1,4 +1,8 @@
|
||||
func run_test[x: String] : I64
|
||||
// requires stdin
|
||||
if strcmp(x, "guess_number.zr") == 0
|
||||
return 0
|
||||
|
||||
printf("\033[93mBuilding %s...\033[0m", x)
|
||||
let cmd: String = String.concat("./target/release/zern examples/", x)
|
||||
|
||||
@@ -14,9 +18,8 @@ func run_test[x: String] : I64
|
||||
if system("./out") != 0
|
||||
exit(1)
|
||||
let run_end_time: I64 = OS.time()
|
||||
|
||||
|
||||
printf("\033[93mRunning %s...\033[0m %ldms\n", x, run_end_time - run_start_time)
|
||||
return 0
|
||||
|
||||
func main[] : I64
|
||||
system("cargo build --release")
|
||||
|
||||
Reference in New Issue
Block a user