[med-svn] [Git][med-team/tao-config][master] Fix tests

Shayan Doust gitlab at salsa.debian.org
Mon Jul 13 16:02:05 BST 2020



Shayan Doust pushed to branch master at Debian Med / tao-config


Commits:
1d77b6ff by Shayan Doust at 2020-07-13T16:01:47+01:00
Fix tests

- - - - -


1 changed file:

- debian/rules


Changes:

=====================================
debian/rules
=====================================
@@ -12,8 +12,15 @@ include /usr/share/dpkg/default.mk
 	dh $@
 
 override_dh_auto_test:
+	# Move schema binary out directory as it relies on tests/
+	mv build/src/test/config/schema .
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	build/src/test/config/tests
 	build/src/test/config/errors
-	build/src/test/config/schema
+	./schema
 endif
+
+override_dh_clean:
+	dh_clean
+	# Remove schema binary we moved out in override_dh_auto_test
+	rm -f schema



View it on GitLab: https://salsa.debian.org/med-team/tao-config/-/commit/1d77b6ff0258d7d4a9c9378de481d9d576010f39

-- 
View it on GitLab: https://salsa.debian.org/med-team/tao-config/-/commit/1d77b6ff0258d7d4a9c9378de481d9d576010f39
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200713/dd002079/attachment.html>


More information about the debian-med-commit mailing list