diff options
Diffstat (limited to 'win/pro_files/dcop/tests')
-rwxr-xr-x | win/pro_files/dcop/tests/build_win.sh | 6 | ||||
-rw-r--r-- | win/pro_files/dcop/tests/dcop_test.pro | 15 | ||||
-rw-r--r-- | win/pro_files/dcop/tests/driver.pro | 15 | ||||
-rw-r--r-- | win/pro_files/dcop/tests/tests.pro | 31 |
4 files changed, 67 insertions, 0 deletions
diff --git a/win/pro_files/dcop/tests/build_win.sh b/win/pro_files/dcop/tests/build_win.sh new file mode 100755 index 000000000..161bdf13f --- /dev/null +++ b/win/pro_files/dcop/tests/build_win.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +perl ./generate.pl < testcases || exit 1 + +qmake dcop_test.pro -o Makefile && $MAKE || exit 1 +qmake driver.pro -o Makefile && $MAKE || exit 1 diff --git a/win/pro_files/dcop/tests/dcop_test.pro b/win/pro_files/dcop/tests/dcop_test.pro new file mode 100644 index 000000000..4b390dd1d --- /dev/null +++ b/win/pro_files/dcop/tests/dcop_test.pro @@ -0,0 +1,15 @@ +TEMPLATE = app + +include( $(KDELIBS)/win/common.pro ) + +TARGET = dcop_test +DESTDIR = . + +system( bash kmoc ) +system( bash kdcopidl ) + +INCLUDEPATH += .. ../moc + +LIBS += $$KDELIBDESTDIR/dcop$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdeice$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdecore$$KDELIB_SUFFIX + +SOURCES += test.cpp test_skel.cpp test_stub.cpp diff --git a/win/pro_files/dcop/tests/driver.pro b/win/pro_files/dcop/tests/driver.pro new file mode 100644 index 000000000..215a8596e --- /dev/null +++ b/win/pro_files/dcop/tests/driver.pro @@ -0,0 +1,15 @@ +TEMPLATE = app + +include( $(KDELIBS)/win/common.pro ) + +TARGET = driver +DESTDIR = . + +system( bash kmoc ) +system( bash kdcopidl ) + +INCLUDEPATH += .. ../moc + +LIBS += $$KDELIBDESTDIR/dcop$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdeice$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdecore$$KDELIB_SUFFIX + +SOURCES += driver.cpp test_stub.cpp diff --git a/win/pro_files/dcop/tests/tests.pro b/win/pro_files/dcop/tests/tests.pro new file mode 100644 index 000000000..fd5d7cab5 --- /dev/null +++ b/win/pro_files/dcop/tests/tests.pro @@ -0,0 +1,31 @@ +TEMPLATE = app + +include( $(KDELIBS)/win/common.pro ) + +# needed to export library classes: +DEFINES += MAKE_DCOP_LIB + +TARGET = testdcop + +system( bash kmoc .. ) + +INCLUDEPATH += .. ../moc + +LIBS += $$KDELIBDESTDIR/dcop$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdeice$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdecore$$KDELIB_SUFFIX + +SOURCES += ../testdcop.cpp + + + + + + + + + + + + + + + |