jenkins will build python. (#865)
Jenkins will build with -DOPM_ENABLE_PYTHON=ON
This commit is contained in:
committed by
Joakim Hove
parent
28ba27184a
commit
597bbde151
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user