mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-06-23 17:39:35 +02:00
Remove QMake files
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = AddressRangeDialogTest
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
TEMPLATE = app
|
||||
SOURCES += AddressRangeDialogTest.cpp \
|
||||
main_AddressRangeDialogTest.cpp
|
||||
|
||||
HEADERS += AddressRangeDialogTest.h
|
||||
@@ -1,22 +0,0 @@
|
||||
|
||||
include(../../../qmake.inc)
|
||||
|
||||
QT -= core gui
|
||||
|
||||
TARGET = AddressTableTest
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
TEMPLATE = app
|
||||
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
|
||||
LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp AddressTableTest.cpp
|
||||
HEADERS += AddressTableTest.h
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
run_tests.depends = all
|
||||
clean_tests.depends = clean
|
||||
build_tests.depends = all
|
||||
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests
|
||||
@@ -1,11 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = CustomServiceDialogTest
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
TEMPLATE = app
|
||||
SOURCES += main_CustomServiceDialogTest.cpp \
|
||||
CustomServiceDialogTest.cpp
|
||||
|
||||
HEADERS += CustomServiceDialogTest.h
|
||||
@@ -1,22 +0,0 @@
|
||||
|
||||
include(../../../qmake.inc)
|
||||
|
||||
QT -= core gui
|
||||
|
||||
TARGET = DNSTest
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
TEMPLATE = app
|
||||
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
|
||||
LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp DNSTest.cpp
|
||||
HEADERS += DNSTest.h
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
run_tests.depends = all
|
||||
clean_tests.depends = clean
|
||||
build_tests.depends = all
|
||||
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests
|
||||
@@ -1,8 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += gui network
|
||||
TARGET = FWBTreeTest
|
||||
SOURCES += main_FWBTreeTest.cpp \
|
||||
FWBTreeTest.cpp
|
||||
|
||||
HEADERS += FWBTreeTest.h
|
||||
@@ -1,21 +0,0 @@
|
||||
include(../../../qmake.inc)
|
||||
|
||||
QT -= core gui
|
||||
|
||||
TARGET = FWObjectTest
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
TEMPLATE = app
|
||||
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
|
||||
LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp FWObjectTest.cpp
|
||||
HEADERS += FWObjectTest.h
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
run_tests.depends = all
|
||||
clean_tests.depends = clean
|
||||
build_tests.depends = all
|
||||
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests
|
||||
@@ -1,8 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
|
||||
TARGET = FWWindowTest
|
||||
HEADERS += FWWindowTest.h
|
||||
SOURCES += main_FWWindowTest.cpp \
|
||||
FWWindowTest.cpp
|
||||
@@ -1,8 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = FirewallDialogTest
|
||||
SOURCES += main_FirewallDialogTest.cpp \
|
||||
FirewallDialogTest.cpp
|
||||
|
||||
HEADERS += FirewallDialogTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = GroupObjectDialogTest
|
||||
SOURCES += main_GroupObjectDialogTest.cpp \
|
||||
GroupObjectDialogTest.cpp
|
||||
HEADERS += GroupObjectDialogTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = ICMP6ServiceDialogTest
|
||||
SOURCES += main_ICMP6ServiceDialogTest.cpp \
|
||||
ICMP6ServiceDialogTest.cpp
|
||||
HEADERS += ICMP6ServiceDialogTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = ICMPServiceDialogTest
|
||||
SOURCES += main_ICMPServiceDialogTest.cpp \
|
||||
ICMPServiceDialogTest.cpp
|
||||
HEADERS += ICMPServiceDialogTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = IPDialogTest
|
||||
SOURCES += main_IPDialogTest.cpp \
|
||||
IPDialogTest.cpp
|
||||
HEADERS += IPDialogTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = IPServiceDialogTest
|
||||
SOURCES += main_IPServiceDialogTest.cpp \
|
||||
IPServiceDialogTest.cpp
|
||||
HEADERS += IPServiceDialogTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += widgets printsupport
|
||||
TARGET = ImporterTest
|
||||
HEADERS += ImporterTest.h
|
||||
SOURCES += main_ImporterTest.cpp \
|
||||
ImporterTest.cpp
|
||||
@@ -1,21 +0,0 @@
|
||||
include(../../../qmake.inc)
|
||||
|
||||
QT -= core gui
|
||||
|
||||
TARGET = Inet6AddrMaskTest
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
TEMPLATE = app
|
||||
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
|
||||
LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp Inet6AddrMaskTest.cpp
|
||||
HEADERS += Inet6AddrMaskTest.h
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
run_tests.depends = all
|
||||
clean_tests.depends = clean
|
||||
build_tests.depends = all
|
||||
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests
|
||||
@@ -1,21 +0,0 @@
|
||||
include(../../../qmake.inc)
|
||||
|
||||
QT -= core gui
|
||||
|
||||
TARGET = InetAddrMaskTest
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
TEMPLATE = app
|
||||
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
|
||||
LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp InetAddrMaskTest.cpp
|
||||
HEADERS += InetAddrMaskTest.h
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
run_tests.depends = all
|
||||
clean_tests.depends = clean
|
||||
build_tests.depends = all
|
||||
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = InterfaceDialogTest
|
||||
SOURCES += main_InterfaceDialogTest.cpp \
|
||||
InterfaceDialogTest.cpp
|
||||
HEADERS += InterfaceDialogTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = NetworkDialogTests
|
||||
SOURCES += main_NetworkDialogTest.cpp \
|
||||
NetworkDialogTest.cpp
|
||||
HEADERS += NetworkDialogTest.h
|
||||
@@ -1,11 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = ObjectManipulatorTest
|
||||
SOURCES += main_ObjectManipulatorTest.cpp \
|
||||
ObjectManipulatorTest.cpp
|
||||
HEADERS += ObjectManipulatorTest.h
|
||||
|
||||
run_tests.commands = cp -f test.fwb test_work.fwb; \
|
||||
./${TARGET}; \
|
||||
rm -f test_work.fwb
|
||||
@@ -1,21 +0,0 @@
|
||||
include(../../../qmake.inc)
|
||||
|
||||
QT -= core gui
|
||||
|
||||
TARGET = ObjectMatcherTest
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
TEMPLATE = app
|
||||
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
|
||||
LIBS += $$CPPUNIT_LIBS
|
||||
|
||||
SOURCES += main.cpp ObjectMatcherTest.cpp
|
||||
HEADERS += ObjectMatcherTest.h
|
||||
INCLUDEPATH += ../../.. ../../libfwbuilder/src
|
||||
DEPENDPATH += ../../libfwbuilder/src
|
||||
LIBS = ../../libfwbuilder/src/fwbuilder/libfwbuilder.a $$LIBS
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET}
|
||||
run_tests.depends = all
|
||||
clean_tests.depends = clean
|
||||
build_tests.depends = all
|
||||
QMAKE_EXTRA_TARGETS += run_tests clean_tests build_tests
|
||||
@@ -1,8 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += widgets printsupport
|
||||
TARGET = PFImporterTest
|
||||
HEADERS += PFImporterTest.h
|
||||
SOURCES += main_PFImporterTest.cpp \
|
||||
PFImporterTest.cpp
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += widgets printsupport
|
||||
TARGET = PIXImporterTest
|
||||
HEADERS += PIXImporterTest.h
|
||||
SOURCES += main_PIXImporterTest.cpp \
|
||||
PIXImporterTest.cpp
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += gui widgets printsupport network
|
||||
|
||||
HEADERS += RCSTest.h
|
||||
SOURCES += main_RCS.cpp \
|
||||
RCSTest.cpp
|
||||
TARGET = RCSTest
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = RuleSetViewContextMenuTest
|
||||
SOURCES += main_RuleSetViewContextMenuTest.cpp \
|
||||
RuleSetViewContextMenuTest.cpp
|
||||
HEADERS += RuleSetViewContextMenuTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = RuleSetViewTest
|
||||
SOURCES += main_RuleSetViewTest.cpp \
|
||||
RuleSetViewTest.cpp
|
||||
HEADERS += RuleSetViewTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = TCPServiceDialogTest
|
||||
SOURCES += main_TCPServiceDialogTest.cpp \
|
||||
TCPServiceDialogTest.cpp
|
||||
HEADERS += TCPServiceDialogTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = TagServiceDialogTest
|
||||
SOURCES += main_TagServiceDialogTest.cpp \
|
||||
TagServiceDialogTest.cpp
|
||||
HEADERS += TagServiceDialogTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = UDPServiceDialogTest
|
||||
SOURCES += main_UDPServiceDialogTest.cpp \
|
||||
UDPServiceDialogTest.cpp
|
||||
HEADERS += UDPServiceDialogTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += gui network
|
||||
TARGET = UsageResolverTest
|
||||
SOURCES += main_UsageResolverTest.cpp \
|
||||
UsageResolverTest.cpp
|
||||
HEADERS += UsageResolverTest.h
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = UserServiceDialogTest
|
||||
SOURCES += main_UserServiceDialogTest.cpp \
|
||||
UserServiceDialogTest.cpp
|
||||
HEADERS += UserServiceDialogTest.h
|
||||
@@ -1,10 +0,0 @@
|
||||
TEMPLATE = app
|
||||
LANGUAGE = bash
|
||||
CONFIG += console
|
||||
CONFIG -= app_bundle
|
||||
|
||||
TARGET = commandLinePrintingTest
|
||||
run_tests.commands = echo "Running tests..." && ./${TARGET} && echo "OK" || echo "FAILED"
|
||||
run_tests.depends = build_tests
|
||||
clean_tests.commands = rm -f print.pdf
|
||||
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests
|
||||
@@ -1,5 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
TARGET = interfacePropertiesTest
|
||||
SOURCES = interfacePropertiesTest.cpp tests_main.cpp
|
||||
HEADERS = interfacePropertiesTest.h
|
||||
@@ -1,15 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
QT += gui widgets printsupport network
|
||||
|
||||
HEADERS = generatedScriptTestsIpfilter.h
|
||||
|
||||
SOURCES = main_generatedScriptTestsIpfilter.cpp \
|
||||
generatedScriptTestsIpfilter.cpp
|
||||
|
||||
|
||||
TARGET = generatedScriptTestsIpfilter
|
||||
|
||||
run_tests.commands = echo "Running tests..." && \
|
||||
rm -f *.fw *.conf && \
|
||||
./${TARGET} && \
|
||||
echo "OK" || { echo "FAILED"; exit 1; }
|
||||
@@ -1,15 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
QT += gui widgets printsupport network
|
||||
|
||||
HEADERS = generatedScriptTestsIpfw.h
|
||||
|
||||
SOURCES = main_generatedScriptTestsIpfw.cpp \
|
||||
generatedScriptTestsIpfw.cpp
|
||||
|
||||
|
||||
TARGET = generatedScriptTestsIpfw
|
||||
|
||||
run_tests.commands = echo "Running tests..." && \
|
||||
rm -f *.fw *.conf && \
|
||||
./${TARGET} && \
|
||||
echo "OK" || { echo "FAILED"; exit 1; }
|
||||
@@ -1,12 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
QT += gui widgets printsupport network
|
||||
|
||||
HEADERS = generatedScriptTestsLinux.h
|
||||
SOURCES = main_generatedScriptTestsLinux.cpp \
|
||||
generatedScriptTestsLinux.cpp
|
||||
TARGET = generatedScriptTestsLinux
|
||||
|
||||
run_tests.commands = echo "Running tests..." && \
|
||||
rm -f *.fw && \
|
||||
./${TARGET}
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
QT += gui widgets printsupport network
|
||||
HEADERS = generatedScriptTestsPF.h
|
||||
SOURCES = main_generatedScriptTestsPF.cpp \
|
||||
generatedScriptTestsPF.cpp
|
||||
|
||||
TARGET = generatedScriptTestsPF
|
||||
|
||||
run_tests.commands = echo "Running tests..." && \
|
||||
rm -f *.fw *.conf tmp/*.fw tmp/*.conf && \
|
||||
mkdir -p tmp && \
|
||||
./${TARGET} && \
|
||||
echo "OK" || { echo "FAILED"; exit 1; }
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
QT += gui widgets printsupport network
|
||||
HEADERS = generatedScriptTestsSecuwall.h
|
||||
SOURCES = main_generatedScriptTestsSecuwall.cpp \
|
||||
generatedScriptTestsSecuwall.cpp
|
||||
TARGET = generatedScriptTestsSecuwall
|
||||
|
||||
run_tests.commands = echo "Running tests..." && \
|
||||
./${TARGET} && \
|
||||
echo "OK" || { echo "FAILED"; exit 1; }
|
||||
|
||||
build_tests.commands = @tar -zxf ./ref.secuwall-1.tar.gz
|
||||
|
||||
clean_tests.commands = @rm -rf ./secuwall-* && \
|
||||
rm -rf ./ref.secuwall-1 && \
|
||||
rm -f ${TARGET}
|
||||
|
||||
run_tests.depends = build_tests
|
||||
build_tests.depends = all
|
||||
clean_tests.depends = all
|
||||
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = genericDialogTest
|
||||
SOURCES += main_genericDialogTest.cpp \
|
||||
genericDialogTest.cpp
|
||||
HEADERS += genericDialogTest.h
|
||||
@@ -1,11 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = instDialogClusterTest
|
||||
SOURCES += main_instDialogClusterTest.cpp \
|
||||
instDialogClusterTest.cpp
|
||||
HEADERS += instDialogClusterTest.h
|
||||
|
||||
run_tests.commands = cp -f test.fwb test_work.fwb; \
|
||||
./${TARGET}; \
|
||||
rm -f test_work.fwb
|
||||
@@ -1,11 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = instDialogCompileTest
|
||||
SOURCES += main_instDialogCompileTest.cpp \
|
||||
instDialogCompileTest.cpp
|
||||
HEADERS += instDialogCompileTest.h
|
||||
|
||||
run_tests.commands = cp -f test.fwb test_work.fwb; \
|
||||
./${TARGET}; \
|
||||
rm -f test_work.fwb
|
||||
@@ -1,11 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = instDialogInspectTest
|
||||
SOURCES += main_instDialogInspectTest.cpp \
|
||||
instDialogInspectTest.cpp
|
||||
HEADERS += instDialogInspectTest.h
|
||||
|
||||
run_tests.commands = cp -f test.fwb test_work.fwb; \
|
||||
./${TARGET}; \
|
||||
rm -f test_work.fwb
|
||||
@@ -1,11 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = instDialogInstallTest
|
||||
SOURCES += main_instDialogInstallTest.cpp \
|
||||
instDialogInstallTest.cpp
|
||||
HEADERS += instDialogInstallTest.h
|
||||
|
||||
run_tests.commands = cp -f test.fwb test_work.fwb; \
|
||||
./${TARGET}; \
|
||||
rm -f test_work.fwb
|
||||
@@ -1,11 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = instDialogObjectListTest
|
||||
SOURCES += main_instDialogObjectListTest.cpp \
|
||||
instDialogObjectListTest.cpp
|
||||
HEADERS += instDialogObjectListTest.h
|
||||
|
||||
run_tests.commands = cp -f test.fwb test_work.fwb; \
|
||||
./${TARGET}; \
|
||||
rm -f test_work.fwb
|
||||
@@ -1,47 +0,0 @@
|
||||
# -*- mode: makefile; tab-width: 4; -*-
|
||||
|
||||
include(../../../qmake.inc)
|
||||
|
||||
OBJECTS_DIR = .obj
|
||||
MOC_DIR = .moc
|
||||
|
||||
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
|
||||
|
||||
CONFIG -= release
|
||||
CONFIG += debug
|
||||
|
||||
INCLUDEPATH += ../../.. \
|
||||
../.. \
|
||||
../../libfwbuilder/src \
|
||||
../../libgui \
|
||||
../../libgui/.ui \
|
||||
../../compiler_lib \
|
||||
../../common
|
||||
|
||||
DEPENDPATH += ../../.. \
|
||||
../.. \
|
||||
../../libfwbuilder/src \
|
||||
../../libgui \
|
||||
../../libgui/.ui \
|
||||
../../compiler_lib \
|
||||
../../common
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
|
||||
TEMPLATE = lib
|
||||
|
||||
CONFIG += staticlib
|
||||
|
||||
TARGET = test_main
|
||||
|
||||
INSTALLS -= target
|
||||
|
||||
SOURCES += main.cpp
|
||||
|
||||
run_tests.commands = echo ""
|
||||
run_tests.depends = build_tests
|
||||
build_tests.depends = all
|
||||
clean_tests.depends = clean
|
||||
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests
|
||||
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = newClusterDialogTest
|
||||
SOURCES += main_newClusterDialogTest.cpp \
|
||||
newClusterDialogTest.cpp
|
||||
HEADERS += newClusterDialogTest.h
|
||||
|
||||
run_tests.commands = cp -f test.fwb test_work.fwb; \
|
||||
./${TARGET}; \
|
||||
rm -f test_work.fwb
|
||||
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += gui widgets printsupport network
|
||||
|
||||
HEADERS += parseCommandLineTest.h
|
||||
SOURCES += main_parseCommandLineTest.cpp parseCommandLineTest.cpp
|
||||
TARGET = parseCommandLineTest
|
||||
@@ -1,7 +0,0 @@
|
||||
include(../tests_common.pri)
|
||||
|
||||
QT += testlib network gui widgets printsupport
|
||||
TARGET = startTipDialogTest
|
||||
HEADERS += startTipDialogTest.h
|
||||
SOURCES += main_startTipDialogTest.cpp \
|
||||
startTipDialogTest.cpp
|
||||
@@ -1,93 +0,0 @@
|
||||
#-*- mode: makefile; tab-width: 4; -*-
|
||||
#
|
||||
include(../../qmake.inc)
|
||||
|
||||
QT += network
|
||||
|
||||
OBJECTS_DIR = .obj
|
||||
MOC_DIR = .moc
|
||||
|
||||
QMAKE_CXXFLAGS += $$CPPUNIT_CFLAGS
|
||||
|
||||
CONFIG -= release
|
||||
CONFIG += debug
|
||||
|
||||
INCLUDEPATH += ../../.. \
|
||||
../.. \
|
||||
../../common \
|
||||
../../parsers \
|
||||
../../import \
|
||||
../../compiler_lib \
|
||||
../../libgui \
|
||||
../../libgui/.ui \
|
||||
../../iptlib \
|
||||
../../pflib \
|
||||
../../cisco_lib \
|
||||
../../juniper_lib \
|
||||
../../libfwbuilder/src
|
||||
|
||||
DEPENDPATH += ../../.. \
|
||||
../.. \
|
||||
../../common \
|
||||
../../parsers \
|
||||
../../import \
|
||||
../../compiler_lib \
|
||||
../../libgui \
|
||||
../../libgui/.ui \
|
||||
../../iptlib \
|
||||
../../pflib \
|
||||
../../cisco_lib \
|
||||
../../juniper_lib \
|
||||
../../libfwbuilder/src
|
||||
|
||||
run_tests.commands = echo "Running tests..."; ./${TARGET}
|
||||
run_tests.depends = build_tests
|
||||
build_tests.depends = all
|
||||
clean_tests.depends = clean
|
||||
QMAKE_EXTRA_TARGETS += run_tests build_tests clean_tests
|
||||
|
||||
INCLUDEPATH += $$ANTLR_INCLUDEPATH
|
||||
DEPENDPATH += $$ANTLR_INCLUDEPATH
|
||||
DEFINES += $$ANTLR_DEFINES
|
||||
|
||||
DEPENDPATH = ../../common \
|
||||
../../iptlib \
|
||||
../../pflib \
|
||||
../../cisco_lib/ \
|
||||
../../juniper_lib/ \
|
||||
../../compiler_lib \
|
||||
../../libgui \
|
||||
../../libfwbuilder/src/fwbuilder \
|
||||
../../libfwbuilder/src/fwcompiler
|
||||
|
||||
STATIC_LIBS += \
|
||||
../main/libtest_main.a \
|
||||
../../libgui/libgui.a \
|
||||
../../import/libimport.a \
|
||||
../../common/libcommon.a \
|
||||
../../iptlib/libiptlib.a \
|
||||
../../pflib/libfwbpf.a \
|
||||
../../cisco_lib/libfwbcisco.a \
|
||||
../../juniper_lib/libfwbjuniper.a \
|
||||
../../compiler_lib/libcompilerdriver.a \
|
||||
../../libfwbuilder/src/fwcompiler/libfwcompiler.a \
|
||||
../../libfwbuilder/src/fwbuilder/libfwbuilder.a \
|
||||
../../parsers/libfwbparser.a \
|
||||
$$ANTLR_LIBS \
|
||||
$$CPPUNIT_LIBS
|
||||
|
||||
PRE_TARGETDEPS += ../../common/libcommon.a \
|
||||
../main/libtest_main.a \
|
||||
../../iptlib/libiptlib.a \
|
||||
../../pflib/libfwbpf.a \
|
||||
../../cisco_lib/libfwbcisco.a \
|
||||
../../juniper_lib/libfwbjuniper.a \
|
||||
../../compiler_lib/libcompilerdriver.a \
|
||||
../../parsers/libfwbparser.a \
|
||||
../../import/libimport.a \
|
||||
../../libfwbuilder/src/fwcompiler/libfwcompiler.a \
|
||||
../../libfwbuilder/src/fwbuilder/libfwbuilder.a \
|
||||
$$ANTLR_LIBS
|
||||
|
||||
LIBS = $$STATIC_LIBS $$LIBS
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
DOLLAR = $
|
||||
|
||||
libgui.target = ../libgui/libgui.a
|
||||
libgui.commands = cd ../libgui && qmake -spec $$QMAKESPEC && make && cd -
|
||||
|
||||
build_tests.commands = ./unit_tests.sh make build_tests
|
||||
|
||||
run_tests.commands = ./unit_tests.sh make run_tests
|
||||
|
||||
clean_tests.commands = ./unit_tests.sh make clean
|
||||
|
||||
build_tests.depends = libgui
|
||||
run_tests.depends = libgui
|
||||
|
||||
QMAKE_EXTRA_TARGETS += libgui run_tests clean_tests build_tests
|
||||
@@ -1,25 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
QMAKE="${QMAKE:-qmake}"
|
||||
QMAKEPARAMS="${QMAKESPEC:+ -spec $QMAKESPEC}"
|
||||
|
||||
set -e
|
||||
|
||||
build() {
|
||||
local _d="$1"
|
||||
shift
|
||||
(
|
||||
cd "$_d" && $QMAKE $QMAKEPARAMS && "$@"
|
||||
)
|
||||
}
|
||||
|
||||
build main "$@"
|
||||
|
||||
find . -maxdepth 1 -type d |
|
||||
egrep -- '^\./[A-Za-z0-9_-]*$' |
|
||||
while read _d
|
||||
do
|
||||
echo "======================= $_d"
|
||||
build "$_d" "$@"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user