1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-03-22 11:17:31 +01:00

refs #1281, #1282 fixed broken unit test targets, these were broken by r2633

This commit is contained in:
Vadim Kurland 2010-03-01 01:15:42 +00:00
parent 098a68f8a8
commit 3d9181dac3
8 changed files with 9 additions and 9 deletions

View File

@ -1 +1 @@
#define BUILD_NUM 2622
#define BUILD_NUM 2637

View File

@ -53,7 +53,7 @@ win32:PRE_TARGETDEPS = ../../common/release/common.lib
run_tests.commands = echo "Running tests..." && \
./${TARGET} && \
echo "OK" || { echo "FAILED"; exit 1; }
run_tests.depends = run
run_tests.depends = build_tests
build_tests.depends = all
clean_tests.depends = clean
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests

View File

@ -50,7 +50,7 @@ run_tests.commands = echo "Running tests..." && \
./${TARGET} && \
echo "OK" || { echo "FAILED"; exit 1; }
run_tests.depends = run
run_tests.depends = build_tests
build_tests.depends = all
clean_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests

View File

@ -73,7 +73,7 @@ run_tests.commands = echo "Running tests..." && \
gcov ${SOURCES} >/dev/null 2>/dev/null && \
echo "OK" || { echo "FAILED"; exit 1; }
run_tests.depends = run
run_tests.depends = build_tests
build_tests.depends = all
clean_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests

View File

@ -43,7 +43,7 @@ LIBS += $$LIBS_FWCOMPILER $$LIBS_FWBUILDER $$CPPUNIT_LIBS
LIBS += -lgcov -lcppunit
run_tests.commands = echo "Running tests..." && ./${TARGET} && echo "OK" || echo "FAILED"
run_tests.depends = run
run_tests.depends = build_tests
build_tests.depends = all
clean_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests
@ -77,4 +77,4 @@ win32:PRE_TARGETDEPS = ../../../common/release/common.lib \
../../../iptlib/libiptlib.a \
../../../pflib/libfwbpf.a \
../../../cisco_lib/libfwbcisco.a \
../../../compiler_lib/libcompilerdriver.a
../../../compiler_lib/libcompilerdriver.a

View File

@ -42,7 +42,7 @@ LIBS += $$LIBS_FWCOMPILER $$LIBS_FWBUILDER $$CPPUNIT_LIBS
LIBS += -lcppunit
run_tests.commands = ./${TARGET}
run_tests.depends = run
run_tests.depends = build_tests
build_tests.depends = all
clean_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests

View File

@ -377,7 +377,7 @@ run_tests.commands = echo "Running tests..."; \
cp -f test.fwb test_work.fwb; \
./${TARGET}; \
rm test_work.fwb
run_tests.depends = run
run_tests.depends = build_tests
build_tests.depends = all
clean_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests

View File

@ -380,7 +380,7 @@ run_tests.commands = echo "Running tests..." \
./${TARGET} && \
echo "OK" || echo "FAILED"; \
rm test_data_work.fwb;
run_tests.depends = run
run_tests.depends = build_tests
build_tests.depends = all
clean_tests.depends = all
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests