Commit d6c508d9 authored by Fabian Müller's avatar Fabian Müller
Browse files

Exit with error code when tests failed

parent f5f085e3
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -631,3 +631,7 @@ if __name__ == "__main__":

    # final \n makes sure that the output from stat() is readable after the command terminates
    print()

    if conformance.failedTests.value != 0:
        print(f"Error: {conformance.failedTests.value} tests failed")
        sys.exit(1)