From abe2464a677f8b266b9b8a112bc73df8cc486fad Mon Sep 17 00:00:00 2001 From: ValKmjolnir Date: Thu, 2 Mar 2023 00:36:48 +0800 Subject: [PATCH] :memo: shorten the running time of test process --- makefile | 6 +++--- test/wavecollapse.nas | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index dd24ee3..110419e 100644 --- a/makefile +++ b/makefile @@ -42,11 +42,11 @@ test:nasal @ ./nasal -d test/calc.nas @ ./nasal -e test/choice.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 -t -d test/datalog.nas @ ./nasal -e test/diff.nas - @ ./nasal -e test/donuts.nas 50 + @ ./nasal -e test/donuts.nas 15 -@ ./nasal -d test/exception.nas @ ./nasal -t -d test/fib.nas @ ./nasal -e test/filesystem.nas @@ -63,7 +63,7 @@ test:nasal @ ./nasal -t -d test/md5compare.nas -@ ./nasal -d test/module_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 -c test/ppmgen.nas @ ./nasal -t -d test/prime.nas diff --git a/test/wavecollapse.nas b/test/wavecollapse.nas index 02c6262..1e538e6 100644 --- a/test/wavecollapse.nas +++ b/test/wavecollapse.nas @@ -98,7 +98,7 @@ if(os.platform()=="windows") system("chcp 65001"); map.new(90); var interval=1/160; -for(var iter=0;iter<100;iter+=1){ +for(var iter=0;iter<40;iter+=1){ map.print(1); map.next(); unix.sleep(interval);