fixes tests and add notes (#20830)

This commit is contained in:
ringabout 2022-11-13 12:52:21 +08:00 • committed by GitHub
commit cfab08d985
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,7 +120,10 @@ else: # main driver
runTest("exit_0", 0)
runTest("exitnow_139", 139)
runTest("c_exit2_139", 139)
runTest("quit_139", 127)
when defined(posix):
runTest("quit_139", 127) # The quit value gets saturated to 127
else:
runTest("quit_139", 139)
block execCmdTest:
let output = compileNimProg("-d:release -d:case_testfile", "D20220705T221100")