Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use argv[0] for node executable in run-tests.roy

  • Loading branch information...
commit f1ca20f2f773ba21dec88aef1728791f715a90eb 1 parent c56feb2
@puffnfresh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  run-tests.roy
View
2  run-tests.roy
@@ -12,7 +12,7 @@ let tests = files.filter (λx →
tests.forEach (λt →
let name = path.join dir t
let outFile = (path.join dir (path.basename t '.roy')) ++ '.out'
- child_process.exec './roy -r ' ++ name (λerror stdout stderr →
+ child_process.exec (process.argv ! 0) ++ ' ./roy -r ' ++ name (λerror stdout stderr →
if error then
console.log "Error:" name error.message
else

3 comments on commit f1ca20f

@sledorze

It can't be parsed..

Error: Parse error on line 16: Unexpected '!'
at Object.parseError (C:\Datas\SDKs\Roy\src\parser.js:270:11)
at Object.parse (C:\Datas\SDKs\Roy\src\parser.js:347:22)
at C:\Datas\SDKs\Roy\src\compile.js:363:22
at C:\Datas\SDKs\Roy\src\compile.js:569:24
at Array.forEach (native)
at Function. (C:\Datas\SDKs\Roy\node_modules\underscore\underscor
e.js:82:11)
at Object.main (C:\Datas\SDKs\Roy\src\compile.js:562:7)
at Object. (C:\Datas\SDKs\Roy\roy:2:26)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)

@puffnfresh
Owner

@sledorze looks like you might have to run make again.

I'm hoping that I'll be able to remove the make requirement eventually.

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