main.cc (fstransform-0.9.3-src) | : | main.cc (fstransform-0.9.4) | ||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* | * | |||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | |||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | * along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
* | * | |||
* main.cc | * main.cc | |||
* Created on: Aug 18, 2011 | * Created on: Aug 18, 2011 | |||
* Author: max | * Author: max | |||
*/ | */ | |||
#include "first.hh" | #include "first.hh" | |||
#undef FM_TEST_ | #undef FM_TEST_ROPE | |||
#undef FM_TEST_ZSTRING | ||||
#if defined(FM_TEST_) | #if defined(FM_TEST_ROPE) | |||
# include "rope/rope_test.hh" // rope self-test | ||||
#define FM_MAIN(argc, argv) FT_NS rope_test(argc, argv) | ||||
#elif defined(FM_TEST_ZSTRING) | ||||
# include "zstring.hh" // zstring self-test | ||||
#define FM_MAIN(argc, argv) FT_NS ztest() | ||||
/* main for test programs here... */ | #else | |||
# include "move.hh" // actual fsmove program | ||||
#else /* actual fsmove program */ | ||||
# include "move.hh" // for fm_move | ||||
# define FM_MAIN(argc, argv) FT_NS fm_move::main(argc, argv) | # define FM_MAIN(argc, argv) FT_NS fm_move::main(argc, argv) | |||
#endif /* defined(FT_TEST_) */ | #endif // defined(FT_TEST_*) | |||
int main(int argc, char ** argv) { | int main(int argc, char ** argv) { | |||
return FM_MAIN(argc, argv); | return FM_MAIN(argc, argv); | |||
} | } | |||
End of changes. 4 change blocks. | ||||
8 lines changed or deleted | 12 lines changed or added |