X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=bin%2FrunTests.py;h=d1d5656c3df90844c9b657558b6164df83d48672;hb=7cbb0b15185107493896b24ddfc00766433b169d;hp=4255abaf08aebfd89d3eb65611c4ea80191c5d3a;hpb=d962d6e5f958ca64f5aefed632e729c9de1ea933;p=modules%2Fkernel.git diff --git a/bin/runTests.py b/bin/runTests.py index 4255abaf0..d1d5656c3 100644 --- a/bin/runTests.py +++ b/bin/runTests.py @@ -1,4 +1,4 @@ -# Copyright (C) 2015-2016 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2015-2024 CEA, EDF, OPEN CASCADE # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -65,7 +65,7 @@ For complete description of available options, pleaser refer to ctest documentat return [] if args[0] in ["-h", "--help"]: - print usage + epilog + print(usage + epilog) sys.exit(0) return args @@ -86,5 +86,5 @@ def runTests(args, exe=None): command = ["ctest"] + args p = subprocess.Popen(command, cwd=testPath) p.communicate() - sys.exit(p.returncode) + return p.returncode #