From 0746a2f3a4295a94adf5c54ff2344d7809349299 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 19 Sep 2020 08:33:15 +0200 Subject: [PATCH 1/7] give visual feedback in most tests, this is done manually --- python/damask/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/damask/util.py b/python/damask/util.py index a04ee47de..bd3e97534 100644 --- a/python/damask/util.py +++ b/python/damask/util.py @@ -117,6 +117,7 @@ def execute(cmd, initialPath = os.getcwd() myEnv = os.environ if env is None else env os.chdir(wd) + print(f"executing '{cmd}' in '{wd}'") process = subprocess.Popen(shlex.split(cmd), stdout = subprocess.PIPE, stderr = subprocess.PIPE, @@ -128,7 +129,7 @@ def execute(cmd, stdout = stdout.decode('utf-8').replace('\x08','') stderr = stderr.decode('utf-8').replace('\x08','') if process.returncode != 0: - raise RuntimeError(f'{cmd} failed with returncode {process.returncode}') + raise RuntimeError(f"'{cmd}' failed with returncode {process.returncode}") return stdout, stderr From 0f5a5a61aa7f0ebe7e899ec2c3c23294b40bed36 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 19 Sep 2020 08:41:14 +0200 Subject: [PATCH 2/7] pytests simplifies writing of tests --- PRIVATE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PRIVATE b/PRIVATE index 555f3e01f..df9a16a89 160000 --- a/PRIVATE +++ b/PRIVATE @@ -1 +1 @@ -Subproject commit 555f3e01f2b5cf43ade1bd48423b890adca21771 +Subproject commit df9a16a89c069a3d1076447fce90d759c45248a3 From ea426ba47ac160951dffa0206bcac2385b6f8f86 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 19 Sep 2020 11:25:53 +0200 Subject: [PATCH 3/7] fixed test --- PRIVATE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PRIVATE b/PRIVATE index df9a16a89..423e1389b 160000 --- a/PRIVATE +++ b/PRIVATE @@ -1 +1 @@ -Subproject commit df9a16a89c069a3d1076447fce90d759c45248a3 +Subproject commit 423e1389bdacd72de123049a2cada0ccbbe2fa6f From 3e829eb610b553f9e4f2bda5c8cfeb5a60897f7a Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 19 Sep 2020 22:05:45 +0200 Subject: [PATCH 4/7] improved homogenization test - do actual comparison - avoid line breaks in yaml --- PRIVATE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PRIVATE b/PRIVATE index 423e1389b..b743be478 160000 --- a/PRIVATE +++ b/PRIVATE @@ -1 +1 @@ -Subproject commit 423e1389bdacd72de123049a2cada0ccbbe2fa6f +Subproject commit b743be47898365af917ef57686c26a3a750c651b From d888c894dff777cfd67c3255fd20021a604dda8e Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Tue, 22 Sep 2020 16:52:23 +0200 Subject: [PATCH 5/7] updated tests --- PRIVATE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PRIVATE b/PRIVATE index b743be478..69371a32f 160000 --- a/PRIVATE +++ b/PRIVATE @@ -1 +1 @@ -Subproject commit b743be47898365af917ef57686c26a3a750c651b +Subproject commit 69371a32fc375343a92f9f70c5e263502bb0a80b From df6db037f8a81825a5ed349b28fd5f0841e91014 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Tue, 22 Sep 2020 19:10:03 +0200 Subject: [PATCH 6/7] cleaned tests --- PRIVATE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PRIVATE b/PRIVATE index 69371a32f..3444f5334 160000 --- a/PRIVATE +++ b/PRIVATE @@ -1 +1 @@ -Subproject commit 69371a32fc375343a92f9f70c5e263502bb0a80b +Subproject commit 3444f5334c1c6c05b781e0e25bbcb658d9ce7c5d From a145f317bfcafb89fda98b4b0fed0e94d9d60c2f Mon Sep 17 00:00:00 2001 From: Test User Date: Wed, 23 Sep 2020 15:59:18 +0200 Subject: [PATCH 7/7] [skip ci] updated version information after successful test of v3.0.0-alpha-301-gc31482b1c --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index a05ebe3cf..63a86fac9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v3.0.0-alpha-275-g7801f527f +v3.0.0-alpha-301-gc31482b1c