mirror of
https://github.com/mirror/make.git
synced 2025-02-05 01:00:11 +08:00
* tests/scripts/features/vpathgpath: Avoid duplicate function name.
This commit is contained in:
parent
b262ea5d8f
commit
ef6aca5a38
@ -40,7 +40,7 @@ close(MAKEFILE);
|
|||||||
|
|
||||||
$off = -500;
|
$off = -500;
|
||||||
|
|
||||||
sub touchfiles {
|
sub gtouchfiles {
|
||||||
foreach (@_) {
|
foreach (@_) {
|
||||||
($f = $_) =~ s,VP/,$VP,g;
|
($f = $_) =~ s,VP/,$VP,g;
|
||||||
&utouch($off, $f);
|
&utouch($off, $f);
|
||||||
@ -51,7 +51,7 @@ sub touchfiles {
|
|||||||
|
|
||||||
# Run the general-case test
|
# Run the general-case test
|
||||||
|
|
||||||
&touchfiles("VP/foo.d", "VP/bar.d", "VP/foo.c", "VP/bar.c", "foo.b", "bar.d");
|
>ouchfiles("VP/foo.d", "VP/bar.d", "VP/foo.c", "VP/bar.c", "foo.b", "bar.d");
|
||||||
|
|
||||||
&run_make_with_options($makefile,"general",&get_logfile());
|
&run_make_with_options($makefile,"general",&get_logfile());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user