-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ parser.out | |
*.hpp | ||
*.out | ||
*.log | ||
*.o | ||
|
||
# environmental files | ||
.venv | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
set -e | ||
|
||
function test_example { | ||
cozy $1.ds --c++ $2 --simple | ||
g++ -std=c++11 -c $2 | ||
rm $2 | ||
cozy $1.ds --java $3 --simple | ||
javac $3 | ||
rm $3 | ||
} | ||
|
||
cd examples | ||
|
||
#test_example ztopo-cache ztopo-cozy.cpp TileCache.java | ||
test_example basic basic.cpp Basic.java | ||
test_example disjunction disjunction.cpp In.java | ||
test_example graph graph.cpp Graph.java | ||
test_example map map.cpp Map.java | ||
#test_example nonscalar-tuple nonscalar-tuple.cpp Example.java | ||
test_example read-after-write read-after-write.cpp ReadAfterWrite.java | ||
#test_example sat4j-literal-storage sat4j-literal-storage.cpp SynthesizedLitStorage.java | ||
test_example agg agg.cpp Aggr.java | ||
test_example boundsbug2 boundsbug2.cpp BoundsBug2.java | ||
#test_example docstring wordbag.cpp WordBag.java | ||
test_example in in.cpp In.java | ||
test_example maxbag maxbag.cpp MaxBag.java | ||
#test_example openfire-roster roster-core.cpp RosterCore.java | ||
#test_example redmine redmine.cpp Redmine.java # too slow now | ||
test_example tpchq5 tpchq5.cpp TPCHQ5.java | ||
#test_example argmin argmin.cpp MinFinder.java | ||
test_example clausedb clausedb.cpp ClauseDB.java | ||
test_example func func.cpp Structure.java | ||
test_example intset intset.cpp ClauseDB.java | ||
test_example nested-map nested-map.cpp In.java | ||
test_example polyupdate polyupdate.cpp Polyupdate.java | ||
#test_example rot1 rot1.cpp Rot1.java | ||
|
||
# TODO: fix the commented out examples |