You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Linux with Julia 0.3.7 and I wanted to quickly set up inotify-tools to watch my project and run the test sweet when I saved any files. The quickest script to write was to run the tests from a subshell. The minimal version would look like this run.sh file:
#!/usr/bin/bash
$($@)
If I use Base.Test then I get output as expected from base_test.jl:
module Tests
using Base.Test
@test 1 == 2
end
Used like bash run.sh julia base_test.jl will print the error message.
However fact_check.jl
module Tests
using FactCheck
facts() do
@fact 1 => 2
end
end
bash run.sh julia fact_check.jl will print nothing. If run.sh has an echo instead:
#!/usr/bin/bash
echo $($@)
then I get the output but it is not formatted.
The text was updated successfully, but these errors were encountered:
I'm using Linux with Julia 0.3.7 and I wanted to quickly set up inotify-tools to watch my project and run the test sweet when I saved any files. The quickest script to write was to run the tests from a subshell. The minimal version would look like this
run.sh
file:If I use
Base.Test
then I get output as expected frombase_test.jl
:Used like
bash run.sh julia base_test.jl
will print the error message.However
fact_check.jl
bash run.sh julia fact_check.jl
will print nothing. Ifrun.sh
has an echo instead:then I get the output but it is not formatted.
The text was updated successfully, but these errors were encountered: