From c842d90bbc5ab8f4fb88fb89ebb02c0c12051396 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 27 Jul 2016 22:51:11 -0700 Subject: 3158 --- html/001help.cc.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'html/001help.cc.html') diff --git a/html/001help.cc.html b/html/001help.cc.html index d6b21301..09f1e4c9 100644 --- a/html/001help.cc.html +++ b/html/001help.cc.html @@ -46,6 +46,10 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color << " mu test\n" << "To load files and then run all tests:\n" << " mu test file1.mu file2.mu ...\n" + << "To load files and run only the tests in explicitly loaded files (for apps):\n" + << " mu --test-only-app test file1.mu file2.mu ...\n" + << "'--test-only-app' must come before all other args\n" + << "'test' must come before all other args except '--test-only-app'\n" << "To load all files with a numeric prefix in a directory:\n" << " mu directory1\n" << "You can test directories just like files.\n" @@ -229,6 +233,14 @@ feenableexcept(FE_OVERFLOW | FE_UNDERFLOWreturn in && !in.eof(); } +////: A hack to support faster debugging. +:(before "End Globals") +bool Test_only_app = false; +:(before "End Commandline Parsing") +if (argc > 1 && is_equal(argv[1], "--test-only-app")) { + Test_only_app = true; --argc; ++argv; +} + :(before "End Includes") #include <assert.h> -- cgit 1.4.1-2-gfad0