mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 10:13:51 +01:00
chore(Data): add dependencies to DataTest
This commit is contained in:
parent
a7020dc0e7
commit
4b782b0958
@ -42,6 +42,5 @@ endif
|
||||
target = testrunner
|
||||
target_version = 1
|
||||
target_libs = PocoDataODBC PocoDataTest PocoData PocoFoundation CppUnit
|
||||
target_includes += $(POCO_BASE)/Data/DataTest/include
|
||||
|
||||
include $(POCO_BASE)/build/rules/exec
|
||||
|
1
Data/ODBC/testsuite/dependencies
Normal file
1
Data/ODBC/testsuite/dependencies
Normal file
@ -0,0 +1 @@
|
||||
Data/DataTest
|
@ -20,6 +20,5 @@ endif
|
||||
target = testrunner
|
||||
target_version = 1
|
||||
target_libs = PocoDataPostgreSQL PocoDataTest PocoData PocoFoundation CppUnit
|
||||
target_includes += $(POCO_BASE)/Data/DataTest/include
|
||||
|
||||
include $(POCO_BASE)/build/rules/exec
|
||||
|
1
Data/PostgreSQL/testsuite/dependencies
Normal file
1
Data/PostgreSQL/testsuite/dependencies
Normal file
@ -0,0 +1 @@
|
||||
Data/DataTest
|
@ -13,6 +13,7 @@ Data/SQLite
|
||||
Data/ODBC
|
||||
Data/MySQL
|
||||
Data/PostgreSQL
|
||||
Data/DataTest
|
||||
Zip
|
||||
PageCompiler
|
||||
PageCompiler/File2Page
|
||||
|
@ -348,9 +348,18 @@ ${comp}-libexec: $dependencies
|
||||
ENDOFSCRIPT
|
||||
|
||||
if [ -d "${POCO_BASE}/${comp}/testsuite" ] ; then
|
||||
tdependencies=""
|
||||
if [ -f "${POCO_BASE}/${comp}/testsuite/dependencies" ] ; then
|
||||
for dep in `cat "${POCO_BASE}/${comp}/testsuite/dependencies"` ;
|
||||
do
|
||||
# get rid of surrounding whitespace (trailing \r on Cygwin)
|
||||
read dep <<< ${dep}
|
||||
tdependencies="$tdependencies ${dep}-libexec"
|
||||
done
|
||||
fi
|
||||
cat >>${target}/Makefile <<ENDOFSCRIPT
|
||||
|
||||
${comp}-tests: ${comp}-libexec cppunit
|
||||
${comp}-tests: ${comp}-libexec $tdependencies cppunit
|
||||
\$(MAKE) -C \$(POCO_BASE)/${comp}/testsuite
|
||||
ENDOFSCRIPT
|
||||
fi
|
||||
|
@ -6,6 +6,7 @@ Data/SQLite
|
||||
Data/ODBC
|
||||
Data/MySQL
|
||||
Data/PostgreSQL
|
||||
Data/DataTest
|
||||
Zip
|
||||
PageCompiler
|
||||
PageCompiler/File2Page
|
||||
|
Loading…
Reference in New Issue
Block a user