mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-22 11:17:31 +01:00
This commit is contained in:
parent
098a68f8a8
commit
3d9181dac3
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user