Skip to content
Browse files

Another fix relating to relative/absolute paths

  • Loading branch information...
1 parent 8d2f1f8 commit ddba3174638020f1a8c2a2511d2bcb379f06abcd @shamanas committed Jun 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/testbase.ooc
View
2 tests/testbase.ooc
@@ -260,7 +260,7 @@ main: func(args: ArrayList<String>) -> Int {
}
// Use the absolute path to the program so we dont have to prefix ./ and thus making the code more portable
- program := File new(testInfo["source"] substring(0, -5)) getAbsolutePath()
+ program := File new(File new(testInfo["source"]) name() substring(0, -5)) getAbsolutePath()
program = !binSuffix empty?() ? program + '.' + binSuffix : program
if(test(program, runFlags, testInfo, "runtime")) {
win("the runtime stage")

0 comments on commit ddba317

Please sign in to comment.
Something went wrong with that request. Please try again.