[ovito] 01/03: Relax some unreliable tests to make the build reproducible.
Anton Gladky
gladk at moszumanska.debian.org
Mon Nov 20 21:48:30 UTC 2017
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch master
in repository ovito.
commit 680282d9192cc509b95286d21a0d83d062b113cc
Author: Anton Gladky <gladk at debian.org>
Date: Mon Nov 20 22:46:46 2017 +0100
Relax some unreliable tests to make the build reproducible.
---
debian/patches/fix_export_test.patch | 19 -------------------
debian/patches/series | 2 +-
2 files changed, 1 insertion(+), 20 deletions(-)
diff --git a/debian/patches/fix_export_test.patch b/debian/patches/fix_export_test.patch
deleted file mode 100644
index 08122fd..0000000
--- a/debian/patches/fix_export_test.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Description: Pass test if removed file not found
-Author: Anton Gladky <gladk at debian.org>
-Last-Update: 2017-11-20
-
-Index: ovito-2.9.0+dfsg1/tests/scripts/test_suite/export_file_text.py
-===================================================================
---- ovito-2.9.0+dfsg1.orig/tests/scripts/test_suite/export_file_text.py
-+++ ovito-2.9.0+dfsg1/tests/scripts/test_suite/export_file_text.py
-@@ -7,4 +7,8 @@ test_data_dir = "../../files/"
-
- node = import_file(test_data_dir + "LAMMPS/animation1.dump", multiple_frames = True)
- export_file(node, "_export_file_text.data", "txt", columns = ["Timestep", "SourceFrame"], multiple_frames = True)
--os.remove("_export_file_text.data")
-\ No newline at end of file
-+
-+try:
-+ os.remove("_export_file_text.data")
-+except FileNotFoundError:
-+ pass
diff --git a/debian/patches/series b/debian/patches/series
index 5e7d3f0..53a7c1a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,4 +2,4 @@
0004-Use-system-pybind11.patch
06_fix_gcc7_compiation.patch
10_fix_ftbfs_on_some_archs.patch
-fix_export_test.patch
+relax_unreliable_tests.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ovito.git
More information about the debian-science-commits
mailing list