jenkins will build python. (#865)

Jenkins will build with -DOPM_ENABLE_PYTHON=ON
This commit is contained in:
Steinar Foss
2019-06-29 08:20:01 +02:00
committed by Joakim Hove
parent 28ba27184a
commit 597bbde151
8 changed files with 20 additions and 13 deletions

View File

@@ -1,6 +1,9 @@
import unittest
import sunbeam
import os.path
import sys
python_dir = sys.argv[2]
class TestParse(unittest.TestCase):
@@ -29,7 +32,7 @@ FIPNUM
def setUp(self):
self.spe3fn = 'spe3/SPE3CASE1.DATA'
self.norne_fname = os.path.abspath('../../../python/examples/data/norne/NORNE_ATW2013.DATA')
self.norne_fname = os.path.abspath(python_dir + '/examples/data/norne/NORNE_ATW2013.DATA')
def test_parse(self):
spe3 = sunbeam.parse(self.spe3fn)