build/release/host/bin/flx --test=build/release --usage=prototype --expect 
--input --indir=tut --regex='.*\.flx' tut

...

sh: line 1: 29911 Segmentation fault      "env" 
"DYLD_LIBRARY_PATH=build/release/host/lib/rtl:$DYLD_LIBRARY_PATH" 
"build/release/host/bin/flx_run" 
"/Users/johnskaller/.felix/cache/binary/Users/johnskaller/felix/tut/pthreads_01.dylib"
 "\"tut\" " > 
"/Users/johnskaller/.felix/cache/text/Users/johnskaller/felix/tut/pthreads_01.stdout"
Error 139 in flx: Unknown error: 139
make: *** [tut-check] Error 139

No, there's nothing wrong with the test case. The segfault is because it opens
a file without checking if it exists and tries to read from it. I used the new 
flx_iscr
to tangle the test data into the tut directory, and then decided to modify
the test case to read the name of the containing directory (this would work
for all tests provided they used distinct names for test data files).

You can see the bug though. The directory name is quoted twice:

        "\"tut\" " 


--
john skaller
skal...@users.sourceforge.net
http://felix-lang.org




------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to