Skip to content

Commit da61fb6

Browse files
author
Joel Allred
committed
Add smt2_strings test suite directory
1 parent 8615e3b commit da61fb6

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

regression/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ add_subdirectory(cpp)
3232
add_subdirectory(cbmc-cover)
3333
add_subdirectory(goto-instrument-typedef)
3434
add_subdirectory(smt2_solver)
35+
add_subdirectory(smt2_strings)
3536
add_subdirectory(strings)
3637
add_subdirectory(invariants)
3738
add_subdirectory(goto-diff)

regression/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ DIRS = cbmc \
1010
cbmc-cover \
1111
goto-instrument-typedef \
1212
smt2_solver \
13+
smt2_strings \
1314
strings \
1415
invariants \
1516
goto-diff \
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
add_test_pl_tests(
2+
"$<TARGET_FILE:smt2_solver>"
3+
)

regression/smt2_strings/Makefile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
default: tests.log
2+
3+
test:
4+
@../test.pl -p -c ../../../src/solvers/smt2_solver
5+
6+
tests.log: ../test.pl
7+
@../test.pl -p -c ../../../src/solvers/smt2_solver
8+
9+
show:
10+
@for dir in *; do \
11+
if [ -d "$$dir" ]; then \
12+
vim -o "$$dir/*.c" "$$dir/*.out"; \
13+
fi; \
14+
done;
15+
16+
clean:
17+
find -name '*.out' -execdir $(RM) '{}' \;
18+
$(RM) tests.log

0 commit comments

Comments
 (0)