On 30/08/2014, at 5:34 PM, Martin DeMello wrote:
> 
> Yep, file was there. Not sure what the problem was earlier; at least running
> 
> $ cd ~/code/felix 
> $ flx --test=build/release ...
> 
> works now. though doing it from a different directory and supplying the full 
> path as --test=/home/mdemello/code/felix/build/release does not.

It should, can you try that again with the full path and --debug-flx?

I just tried an absolute path and it worked (but my version is probably a bit 
newer).

~/felix>cat hello.flx
println$ "Hello";
assert false;
~/felix>build/release/host/bin/flx 
--test=/Users/johnskaller/felix/build/release hello
Setting FLX_INSTALL_DIR from /Users/johnskaller/.felix/config/felix.fpc
FLX_INSTALL_DIR='/usr/local/lib/felix/felix-latest'
Hello
terminate called after throwing an instance of 'flx::rtl::flx_assert_failure_t'
Shell terminated by signal SIGABRT
~/felix>cd ..
~>felix/build/release/host/bin/flx 
--test=/Users/johnskaller/felix/build/release felix/hello
Setting FLX_INSTALL_DIR from /Users/johnskaller/.felix/config/felix.fpc
FLX_INSTALL_DIR='/usr/local/lib/felix/felix-latest'
Hello
terminate called after throwing an instance of 'flx::rtl::flx_assert_failure_t'
Shell terminated by signal SIGABRT

<aside>
here, the FLX_INSTALL_DIR diagnostics show I have a 
$HOME/.felix/config/felix.fpc
file, however the --test overrides that (its a temporary diagnostic :)

The terminate message is a bug.
I don't know exactly what. It should show a Felix and C++ location
of the assertion failure. The right exception is thrown, doesn't look like
it is caught by the driver.
</aside>

I agree completely when the tools fail its a serious PITA for the programmer
and certainly doesn't encourage new players.

However .. there's only one way to debug the tools on many platforms in many
environments .. and thats for many people to try it out. One thing I simply 
cannot
do alone.

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




------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Felix-language mailing list
Felix-language@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/felix-language

Reply via email to