aboutsummaryrefslogtreecommitdiff
path: root/Regression/prepare_file_travis.py
diff options
context:
space:
mode:
Diffstat (limited to 'Regression/prepare_file_travis.py')
-rw-r--r--Regression/prepare_file_travis.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Regression/prepare_file_travis.py b/Regression/prepare_file_travis.py
index 088b97b04..6c3be105f 100644
--- a/Regression/prepare_file_travis.py
+++ b/Regression/prepare_file_travis.py
@@ -41,15 +41,15 @@ text = re.sub( 'numprocs = \d+', 'numprocs = 1', text)
text = re.sub( 'numthreads = \d+', 'numthreads = 1', text)
# Remove Python test (does not compile)
-text = re.sub( '\[Python_Langmuir\]\n(.+\n)*\n', '', text)
+text = re.sub( '\[Python_Langmuir\]\n(.+\n)*', '', text)
# Remove Langmuir_x/y/z test (too long; not that useful)
-text = re.sub( '\[Langmuir_[xyz]\]\n(.+\n)*\n', '', text)
+text = re.sub( '\[Langmuir_[xyz]\]\n(.+\n)*', '', text)
# Remove tests that do not have the right dimension
if dim is not None:
print('Selecting tests with dim = %s' %dim)
- text = re.sub('\[.+\n(.+\n)*dim = [^%s]\n(.+\n)*\n' %dim, '', text)
+ text = re.sub('\[.+\n(.+\n)*dim = [^%s]\n(.+\n)*' %dim, '', text)
# Remove or keep QED tests according to 'qed' variable
if qed is not None: