summaryrefslogtreecommitdiff
path: root/fast/test
diff options
context:
space:
mode:
Diffstat (limited to 'fast/test')
-rw-r--r--fast/test/Makefile5
-rwxr-xr-xfast/test/test_grammarbin56832 -> 60943 bytes
2 files changed, 4 insertions, 1 deletions
diff --git a/fast/test/Makefile b/fast/test/Makefile
index 0140f63..65e97ef 100644
--- a/fast/test/Makefile
+++ b/fast/test/Makefile
@@ -3,7 +3,7 @@ CFLAGS=-std=c++11 -O3 -I../
TCMALLOC=/home/pks/src/weaver/fast/gperftools-2.1/lib/libtcmalloc_minimal.a -pthread
-all: test_grammar test_sparse_vector
+all: test_grammar test_sparse_vector test_parse
test_grammar: test_grammar.cc ../grammar.hh
$(COMPILER) $(CFLAGS) -lstdc++ -lm $(TCMALLOC) test_grammar.cc -o test_grammar
@@ -11,6 +11,9 @@ test_grammar: test_grammar.cc ../grammar.hh
test_sparse_vector: test_sparse_vector.cc ../sparse_vector.hh
$(COMPILER) $(CFLAGS) -lstdc++ -lm $(TCMALLOC) test_sparse_vector.cc -o test_sparse_vector
+test_parse: test_parse.cc ../parse.hh ../grammar.hh ../util.hh
+ $(COMPILER) $(CFLAGS) -lstdc++ -lm $(TCMALLOC) test_parse.cc -o test_parse
+
clean:
rm -f test_grammar test_sparse_vector
diff --git a/fast/test/test_grammar b/fast/test/test_grammar
index 088d55a..6cf7ad5 100755
--- a/fast/test/test_grammar
+++ b/fast/test/test_grammar
Binary files differ