[pkg] Stop running unit tests from skeleton
authorJérémy Bobbio <jeremy.bobbio@irq7.fr>
Wed, 19 Jun 2019 18:45:10 +0200
changeset 12683 d77afae12d45
parent 12682 da36da3f89f1
child 12684 d464495452aa
[pkg] Stop running unit tests from skeleton The test files shipped as part as the skeleton for `cubeweb-ctl newcube` are not meant to be run as part of our test suite!
debian/tests/unittest
--- a/debian/tests/unittest	Wed Jun 19 18:43:38 2019 +0200
+++ b/debian/tests/unittest	Wed Jun 19 18:45:10 2019 +0200
@@ -5,7 +5,7 @@
 
 ### Setup tests
 
-find cubicweb -type d -name 'test' | while read dir; do
+find cubicweb -type d -name 'test' -a '!' -wholename 'cubicweb/skeleton/*' | while read dir; do
 	mkdir -p "$AUTOPKGTEST_TMP"/$(dirname "$dir")
 	cp -r "$dir" "$AUTOPKGTEST_TMP/$dir"
 done