61b11a5beb4f — Chris Cannam 6 years ago
Rename test to jsonparse (since it does that)
4 files changed, 6 insertions(+), 6 deletions(-)

M Makefile
M test.mlb => jsonparse.mlb
M test.sml => jsonparse.sml
M test.sh
M Makefile +2 -2
@@ 1,10 1,10 @@ 
 
-test:	test.mlb json.sml test.sml
+jsonparse:	jsonparse.mlb json.sml jsonparse.sml
 	mlton $<
 	./test.sh > test.log 2>&1
 	tail -3 test.log
 
 clean:
-	rm -f test test.log
+	rm -f jsonparse test.log
 
 

          
M test.mlb => jsonparse.mlb +1 -1
@@ 1,4 1,4 @@ 
 $(SML_LIB)/basis/basis.mlb
 json.sml
-test.sml
+jsonparse.sml
 main.sml

          
M test.sml => jsonparse.sml +0 -0

M test.sh +3 -3
@@ 13,7 13,7 @@ fail=0
 
 for testfile in testfiles/test_parsing/*.json testfiles/merged/merged-in.json ; do
 
-    output=$(./test "$testfile")
+    output=$(./jsonparse "$testfile")
     base=$(basename $testfile)
     
     case $base in

          
@@ 43,9 43,9 @@ m_out=testfiles/merged/merged-out.json
 m_expected=testfiles/merged/merged-expected.json
 m_collapsed=testfiles/merged/expected-collapsed.json
 
-./test $m_in > $m_out
+./jsonparse $m_in > $m_out
 
-reread=$(./test $m_out)
+reread=$(./jsonparse $m_out)
 if [ -n "$reread" ]
 then pass=$(($pass + 1))
      echo "--- pass: merged file conversion can be re-read"