aboutsummaryrefslogtreecommitdiff
path: root/Regression/prepare_file_travis.py
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2019-10-22 02:41:37 -0500
committerGravatar GitHub <noreply@github.com> 2019-10-22 02:41:37 -0500
commit4b816d568b298c83bcc272c78a95aa9b790c9e5c (patch)
tree04b237145fa21db8b4797cafa139bdd588c0f117 /Regression/prepare_file_travis.py
parent9ee0c52e47748619baa44abd04653a9b8bd15c54 (diff)
parent366f46aa9a4b9ea56f0846795aa3900b99791923 (diff)
downloadWarpX-4b816d568b298c83bcc272c78a95aa9b790c9e5c.tar.gz
WarpX-4b816d568b298c83bcc272c78a95aa9b790c9e5c.tar.zst
WarpX-4b816d568b298c83bcc272c78a95aa9b790c9e5c.zip
Merge branch 'dev' into classical_radiation_reaction
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: