[segyio] 166/376: python.example.write gets private write.sgy file
Jørgen Kvalsvik
jokva-guest at moszumanska.debian.org
Wed Sep 20 08:04:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
jokva-guest pushed a commit to branch debian
in repository segyio.
commit 7521e1abddd66068016b5e52c0dde5190d182822
Author: Jørgen Kvalsvik <jokva at statoil.com>
Date: Fri Feb 10 15:55:14 2017 +0100
python.example.write gets private write.sgy file
This file used to operate on the shared test-data/small.sgy, which made
tests break on the second run (which isn't picked up by CI).
---
python/CMakeLists.txt | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 2fcb51b..d00a6d5 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -61,8 +61,11 @@ add_python_test(python.enum.segy test/segyioenum.py)
add_python_test(python.tools test/tools.py)
add_python_test(python.context test/context.py)
+configure_file(${CMAKE_SOURCE_DIR}/test-data/small.sgy
+ test-data/write.sgy
+ COPYONLY)
add_python_example(pysegyio python.example.about examples/about.py test-data/small.sgy INLINE_3D CROSSLINE_3D)
-add_python_example(pysegyio python.example.write examples/write.py test-data/small.sgy)
+add_python_example(pysegyio python.example.write examples/write.py test-data/write.sgy)
add_python_example(pysegyio python.example.makefile examples/make-file.py test-data/large-file.sgy 20 1 20 1 20)
add_python_example(pysegyio python.example.makepsfile examples/make-ps-file.py test-data/small-prestack.sgy 10 1 5 1 4 1 3)
add_python_example(pysegyio python.example.subcube examples/copy-sub-cube.py test-data/small.sgy test-data/copy.sgy)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/segyio.git
More information about the debian-science-commits
mailing list