Skip to content

Commit

Permalink
test time javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
melsman committed Nov 12, 2023
1 parent c73309c commit 13d88b7
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions js/test/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
FILES=philip.sml fix2.sml array2.sml int31.sml int.sml vectorslice.sml word8arrayslice.sml word8vector.sml arrayslice.sml \
general.sml int32_2.sml math.sml stringcvt.sml testdyn1.sml vector.sml word8array.sml \
array.sml int_2.sml int32.sml listpair.sml string.sml testmatc.sml word.sml word8.sml word31.sml word32.sml \
bytechar.sml int31_2.sml intinf.sml list.sml real.sml substring.sml word8vectorslice.sml time.sml \
unixpath.sml kkb.sml simple.sml tailrec2.sml packreal.sml packreal2.sml packreal3.sml
FILES=philip.sml fix2.sml array2.sml int31.sml int.sml \
vectorslice.sml word8arrayslice.sml word8vector.sml arrayslice.sml \
general.sml int32_2.sml math.sml stringcvt.sml testdyn1.sml \
vector.sml word8array.sml array.sml int_2.sml int32.sml listpair.sml \
string.sml testmatc.sml word.sml word8.sml word31.sml word32.sml \
bytechar.sml int31_2.sml intinf.sml list.sml real.sml substring.sml \
word8vectorslice.sml time.sml unixpath.sml kkb.sml simple.sml \
tailrec2.sml packreal.sml packreal2.sml packreal3.sml

# problems with phantomjs and date operations...
#date.sml


MLBFILES=exec.mlb counter.mlb temp.mlb life.mlb cal.mlb rwp_ex1.mlb rwp_ex2.mlb rwp_ex3.mlb export.mlb \
canvas_ex1.mlb
MLBFILES=exec.mlb counter.mlb temp.mlb life.mlb cal.mlb rwp_ex1.mlb \
rwp_ex2.mlb rwp_ex3.mlb export.mlb canvas_ex1.mlb

TARGETS=$(FILES:%.sml=%.html)
MLBTARGETS=$(MLBFILES:%.mlb=mlb%)
Expand Down Expand Up @@ -84,6 +87,7 @@ test: $(RES_TESTFILES)
@echo "Tests succeeded: `grep "OK" $(RES_TESTFILES) | wc -l` /`grep "of test" $(RES_TESTFILES) | wc -l`"
@echo "Test errors: `grep "ERR" $(RES_TESTFILES) | wc -l` /`grep "of test" $(RES_TESTFILES) | wc -l`"
@echo "-------------------------------------"
cat time.html.out
@exit `grep "ERR" $(RES_TESTFILES) | wc -l`

clean:
Expand Down

0 comments on commit 13d88b7

Please sign in to comment.