📝 shorten the running time of test process

This commit is contained in:
ValKmjolnir 2023-03-02 00:36:48 +08:00
parent f9cbd0b426
commit abe2464a67
2 changed files with 4 additions and 4 deletions

View File

@ -42,11 +42,11 @@ test:nasal
@ ./nasal -d test/calc.nas @ ./nasal -d test/calc.nas
@ ./nasal -e test/choice.nas @ ./nasal -e test/choice.nas
@ ./nasal -e test/class.nas @ ./nasal -e test/class.nas
@ ./nasal -t -d test/console3D.nas 25 @ ./nasal -t -d test/console3D.nas 20
@ ./nasal -e test/coroutine.nas @ ./nasal -e test/coroutine.nas
@ ./nasal -t -d test/datalog.nas @ ./nasal -t -d test/datalog.nas
@ ./nasal -e test/diff.nas @ ./nasal -e test/diff.nas
@ ./nasal -e test/donuts.nas 50 @ ./nasal -e test/donuts.nas 15
-@ ./nasal -d test/exception.nas -@ ./nasal -d test/exception.nas
@ ./nasal -t -d test/fib.nas @ ./nasal -t -d test/fib.nas
@ ./nasal -e test/filesystem.nas @ ./nasal -e test/filesystem.nas
@ -63,7 +63,7 @@ test:nasal
@ ./nasal -t -d test/md5compare.nas @ ./nasal -t -d test/md5compare.nas
-@ ./nasal -d test/module_test.nas -@ ./nasal -d test/module_test.nas
@ ./nasal -e test/nasal_test.nas @ ./nasal -e test/nasal_test.nas
@ ./nasal test/occupation.nas 5 @ ./nasal test/occupation.nas 2
@ ./nasal -t -d test/pi.nas @ ./nasal -t -d test/pi.nas
@ ./nasal -c test/ppmgen.nas @ ./nasal -c test/ppmgen.nas
@ ./nasal -t -d test/prime.nas @ ./nasal -t -d test/prime.nas

View File

@ -98,7 +98,7 @@ if(os.platform()=="windows")
system("chcp 65001"); system("chcp 65001");
map.new(90); map.new(90);
var interval=1/160; var interval=1/160;
for(var iter=0;iter<100;iter+=1){ for(var iter=0;iter<40;iter+=1){
map.print(1); map.print(1);
map.next(); map.next();
unix.sleep(interval); unix.sleep(interval);