* Makefile (check-guess): Don't remove uname here.

* testsuite/config-guess.sh (run_config_guess): Remove dummy uname
	script if the test passes (if not, the script is left behind for
	inspection).
This commit is contained in:
Ben Elliston 2019-03-23 22:07:56 +11:00
parent 8999a781ce
commit f34dacb346
3 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2019-03-23 Ben Elliston <bje@gnu.org>
* Makefile (check-guess): Don't remove uname here.
* testsuite/config-guess.sh (run_config_guess): Remove dummy uname
script if the test passes (if not, the script is left behind for
inspection).
2019-03-23 Ben Elliston <bje@gnu.org>
* testsuite/config-sub.sh (run_one_config_sub): New.

View File

@ -11,7 +11,7 @@ doc/config.sub.1: config.sub
help2man -N --name "validate and canonicalize a configuration triplet" --output=$@ ./config.sub
check-guess:
cd testsuite && bash config-guess.sh && rm uname
cd testsuite && bash config-guess.sh
check-sub:
cd testsuite && bash config-sub.sh

View File

@ -42,6 +42,8 @@ EOF
continue
fi
$verbose && echo "PASS: $triplet"
# only remove uname dummy script if the test passes
rm uname
done
return $rc
}