mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-03 04:38:39 +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 = testrunner
|
||||||
target_version = 1
|
target_version = 1
|
||||||
target_libs = PocoDataODBC PocoDataTest PocoData PocoFoundation CppUnit
|
target_libs = PocoDataODBC PocoDataTest PocoData PocoFoundation CppUnit
|
||||||
target_includes += $(POCO_BASE)/Data/DataTest/include
|
|
||||||
|
|
||||||
include $(POCO_BASE)/build/rules/exec
|
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 = testrunner
|
||||||
target_version = 1
|
target_version = 1
|
||||||
target_libs = PocoDataPostgreSQL PocoDataTest PocoData PocoFoundation CppUnit
|
target_libs = PocoDataPostgreSQL PocoDataTest PocoData PocoFoundation CppUnit
|
||||||
target_includes += $(POCO_BASE)/Data/DataTest/include
|
|
||||||
|
|
||||||
include $(POCO_BASE)/build/rules/exec
|
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/ODBC
|
||||||
Data/MySQL
|
Data/MySQL
|
||||||
Data/PostgreSQL
|
Data/PostgreSQL
|
||||||
|
Data/DataTest
|
||||||
Zip
|
Zip
|
||||||
PageCompiler
|
PageCompiler
|
||||||
PageCompiler/File2Page
|
PageCompiler/File2Page
|
||||||
|
@ -348,9 +348,18 @@ ${comp}-libexec: $dependencies
|
|||||||
ENDOFSCRIPT
|
ENDOFSCRIPT
|
||||||
|
|
||||||
if [ -d "${POCO_BASE}/${comp}/testsuite" ] ; then
|
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
|
cat >>${target}/Makefile <<ENDOFSCRIPT
|
||||||
|
|
||||||
${comp}-tests: ${comp}-libexec cppunit
|
${comp}-tests: ${comp}-libexec $tdependencies cppunit
|
||||||
\$(MAKE) -C \$(POCO_BASE)/${comp}/testsuite
|
\$(MAKE) -C \$(POCO_BASE)/${comp}/testsuite
|
||||||
ENDOFSCRIPT
|
ENDOFSCRIPT
|
||||||
fi
|
fi
|
||||||
|
@ -6,6 +6,7 @@ Data/SQLite
|
|||||||
Data/ODBC
|
Data/ODBC
|
||||||
Data/MySQL
|
Data/MySQL
|
||||||
Data/PostgreSQL
|
Data/PostgreSQL
|
||||||
|
Data/DataTest
|
||||||
Zip
|
Zip
|
||||||
PageCompiler
|
PageCompiler
|
||||||
PageCompiler/File2Page
|
PageCompiler/File2Page
|
||||||
|
Loading…
x
Reference in New Issue
Block a user