summaryrefslogtreecommitdiff
path: root/tests/run_make_tests.pl
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2009-09-28 23:08:49 +0000
committerPaul Smith <psmith@gnu.org>2009-09-28 23:08:49 +0000
commitf907a4d90c895f04ee7497a5f1b58ad1fd3cddb5 (patch)
treeaf19406bf81da1ad0fa78609d1195c959e31af0a /tests/run_make_tests.pl
parentf5891a26d8d3ed87b059856650b2bdb0c7ea355e (diff)
downloadgunmake-f907a4d90c895f04ee7497a5f1b58ad1fd3cddb5.tar.gz
- Update manual description for pattern rule search algorithm
- Add new "-all" flag to the test suite to run tests that don't pass yet - Add some non-passing tests - Fix from Andreas Buening for OS/2.
Diffstat (limited to 'tests/run_make_tests.pl')
-rwxr-xr-xtests/run_make_tests.pl23
1 files changed, 14 insertions, 9 deletions
diff --git a/tests/run_make_tests.pl b/tests/run_make_tests.pl
index 2071b17..65dba2a 100755
--- a/tests/run_make_tests.pl
+++ b/tests/run_make_tests.pl
@@ -37,6 +37,8 @@ $pure_log = undef;
$command_string = '';
+$all_tests = 0;
+
require "test_driver.pl";
# Some target systems might not have the POSIX module...
@@ -48,15 +50,18 @@ sub valid_option
{
local($option) = @_;
- if ($option =~ /^-make([-_]?path)?$/)
- {
- $make_path = shift @argv;
- if (!-f $make_path)
- {
- print "$option $make_path: Not found.\n";
- exit 0;
- }
- return 1;
+ if ($option =~ /^-make([-_]?path)?$/i) {
+ $make_path = shift @argv;
+ if (!-f $make_path) {
+ print "$option $make_path: Not found.\n";
+ exit 0;
+ }
+ return 1;
+ }
+
+ if ($option =~ /^-all([-_]?tests)?$/i) {
+ $all_tests = 1;
+ return 1;
}
if ($option =~ /^-(valgrind|memcheck)$/i) {