summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMakefile6
-rwxr-xr-xtest.sh7
2 files changed, 5 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index d9dbf06..c4109b1 100755
--- a/Makefile
+++ b/Makefile
@@ -8,4 +8,8 @@ all: english2uryuomoco uryuomoco2english
clean:
rm -rf english2uryuomoco uryuomoco2english
-.PHONY: all clean
+test: english2uryuomoco uryuomoco2english
+ uryuomoco2english < uryuomoco | diff - english
+ english2uryuomoco < english | diff - uryuomoco
+
+.PHONY: all test clean
diff --git a/test.sh b/test.sh
deleted file mode 100755
index 4f1fa36..0000000
--- a/test.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-wd=$(dirname "$0")
-
-"$wd"/uryuomoco2english < "$wd"/uryuomoco | diff - "$wd"/english &&
-"$wd"/english2uryuomoco < "$wd"/english | diff - "$wd"/uryuomoco
-