Simple example: flx --expect --regex='test/regress/rt/.+flx'
Roughly: if you use --regex=regex, the command runs for every file in the regex. Combined with the new --expect switch, the above runs *and verifies* all the tests in the rt subset of the regression tests. With this option, the program arguments include what would ordinarily be the program name. Looks like this: ~/felix>build/release/bin/flx --test=build/release --expect --regex='test/regress/rt/.+flx' Processing 125 files Processing [01/125]: test/regress/rt/abstract_types-01.flx Processing [02/125]: test/regress/rt/abstract_types-02.flx Processing [03/125]: test/regress/rt/address-stack-01.flx .... Everything stops on any error (at the moment, missing expect file for --expect option is fine if, and only if, the stdout is also empty). At present this technology cannot be used to compile a batch of C++ programs (because the argument in the "progname" position currently has to be a Felix file). -- john skaller skal...@users.sourceforge.net http://felix-lang.org ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Felix-language mailing list Felix-language@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/felix-language