diff options
author | Araq <rumpf_a@web.de> | 2011-11-19 15:45:51 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-11-19 15:45:51 +0100 |
commit | a274f3bf5be3fc35f1538e5aab0e32fb9ed2ff82 (patch) | |
tree | 95dc5bf7fe3716a3ab266f78094fccce38c94ccf /tests/accept/compile/tcodegenbug1.nim | |
parent | d0772feb08baaea12bfdad0a7c20a41733f977bd (diff) | |
download | Nim-a274f3bf5be3fc35f1538e5aab0e32fb9ed2ff82.tar.gz |
got rid of 'accept' dir in the tests
Diffstat (limited to 'tests/accept/compile/tcodegenbug1.nim')
-rwxr-xr-x | tests/accept/compile/tcodegenbug1.nim | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/tests/accept/compile/tcodegenbug1.nim b/tests/accept/compile/tcodegenbug1.nim deleted file mode 100755 index 909101db1..000000000 --- a/tests/accept/compile/tcodegenbug1.nim +++ /dev/null @@ -1,55 +0,0 @@ -import os - -type - TStatusEnum* = enum - sUnknown = -1, sBuildFailure, sBuildInProgress, sBuildSuccess, - sTestFailure, sTestInProgress, sTestSuccess, # ORDER MATTERS! - sDocGenFailure, sDocGenInProgress, sDocGenSuccess, - sCSrcGenFailure, sCSrcGenInProgress, sCSrcGenSuccess - - TStatus* = object - status*: TStatusEnum - desc*: string - hash*: string - -proc initStatus*(): TStatus = - result.status = sUnknown - result.desc = "" - result.hash = "" - -proc isInProgress*(status: TStatusEnum): bool = - return status in {sBuildInProgress, sTestInProgress, sDocGenInProgress, - sCSrcGenInProgress} - -proc `$`*(status: TStatusEnum): string = - case status - of sBuildFailure: - return "build failure" - of sBuildInProgress: - return "build in progress" - of sBuildSuccess: - return "build finished" - of sTestFailure: - return "testing failure" - of sTestInProgress: - return "testing in progress" - of sTestSuccess: - return "testing finished" - of sDocGenFailure: - return "documentation generation failed" - of sDocGenInProgress: - return "generating documentation" - of sDocGenSuccess: - return "documentation generation succeeded" - of sCSrcGenFailure: - return "csource generation failed" - of sCSrcGenInProgress: - return "csource generation in progress" - of sCSrcGenSuccess: - return "csource generation succeeded" - of sUnknown: - return "unknown" - -proc makeCommitPath*(platform, hash: string): string = - return platform / "nimrod_" & hash.substr(0, 11) # 11 Chars. - |