From f3b2181095311f119246ad2a540bbbff2d6c5f36 Mon Sep 17 00:00:00 2001 From: Patrick Lavin Date: Thu, 19 Sep 2024 14:07:06 -0600 Subject: [PATCH] add more output to testssuite --- .../elements/ariel/tests/testsuite_default_Ariel.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/sst/elements/ariel/tests/testsuite_default_Ariel.py b/src/sst/elements/ariel/tests/testsuite_default_Ariel.py index dcd7e4bf00..66ecc17457 100644 --- a/src/sst/elements/ariel/tests/testsuite_default_Ariel.py +++ b/src/sst/elements/ariel/tests/testsuite_default_Ariel.py @@ -186,16 +186,20 @@ def _setup_ariel_test_files(self): # Now build the Ariel stream example cmd = "make" rtn1 = OSCommand(cmd, set_cwd=self.ArielElementStreamDir).run() - log_debug("Ariel frontend/simple/examples/Makefile Make result = {0}; output =\n{1}".format(rtn1.result(), rtn1.output())) + log_debug("Ariel stream Make result = {0}; output =\n{1}".format(rtn1.result(), rtn1.output())) + if rtn1.result() != 0: + log_debug("Ariel {0} Make returned non-zero exit code. Error:\n{1}".format(self.ArielElementStreamDir, rtn1.error())) + # Now build the ompmybarrier binary cmd = "make" rtn2 = OSCommand(cmd, set_cwd=self.ArielElementompmybarrierDir).run() log_debug("Ariel ompmybarrier Make result = {0}; output =\n{1}".format(rtn2.result(), rtn2.output())) - + if rtn2.result() != 0: + log_debug("Ariel {0} Make returned non-zero exit code. Error:\n{1}".format(self.ArielElementompmybarrierDir, rtn2.error())) + # Check that everything compiled OK #self.assertTrue(rtn0.result() == 0, "libarielapi failed to compile") self.assertTrue(rtn1.result() == 0, "stream apps failed to compile") self.assertTrue(rtn2.result() == 0, "ompmybarrier.c failed to compile") -