summary refs log tree commit diff stats
path: root/tests/accept/compile/tcodegenbug1.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-11-19 15:45:51 +0100
committerAraq <rumpf_a@web.de>2011-11-19 15:45:51 +0100
commita274f3bf5be3fc35f1538e5aab0e32fb9ed2ff82 (patch)
tree95dc5bf7fe3716a3ab266f78094fccce38c94ccf /tests/accept/compile/tcodegenbug1.nim
parentd0772feb08baaea12bfdad0a7c20a41733f977bd (diff)
downloadNim-a274f3bf5be3fc35f1538e5aab0e32fb9ed2ff82.tar.gz
got rid of 'accept' dir in the tests
Diffstat (limited to 'tests/accept/compile/tcodegenbug1.nim')
-rwxr-xr-xtests/accept/compile/tcodegenbug1.nim55
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.
-