VirtualBox

Ignore:
Timestamp:
Mar 12, 2018 7:32:29 PM (7 years ago)
Author:
bird
Message:

Imported make 4.2.1 (2e55f5e4abdc0e38c1d64be703b446695e70b3b6) from https://git.savannah.gnu.org/git/make.git.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/gnumake/current/tests/scripts/features/se_explicit

    r2596 r3138  
    66# TEST #0: Test handing of '$' in prerequisites with and without second
    77# expansion.
     8
     9# If we don't support archives then the prerequisite is different
     10my $prereq = exists $FEATURES{'archives'} ? '$' : '$(PRE)';
    811
    912run_make_test(q!
     
    1922!,
    2023              '',
    21               "\$\nbar\$biz\nfoo\$bar : bar\$baz bar\$biz");
     24              "$prereq\nbar\$biz\nfoo\$bar : bar\$baz bar\$biz");
    2225
    2326run_make_test(undef, 'SE=1', "three\nfour\nbariz\nfoo\$bar : baraz bariz");
     
    116119all : $$(eval $$(info test))
    117120!,
    118             '', "test\n#MAKE#: Nothing to be done for `all'.\n");
     121            '', "test\n#MAKE#: Nothing to be done for 'all'.\n");
    119122
    120123# TEST #5: (NEGATIVE) catch eval in a prereq list trying to create new
     
    153156
    154157
    155 # This tells the test driver that the perl test script executed properly.
     158# Allow patsubst shorthand in second expansion context.
     159# Requires the colon to be quoted.  Savannah bug #16545
     160run_make_test(q!
     161.PHONY: foo.bar
     162.SECONDEXPANSION:
     163foo: $$(@\\:%=%.bar); @echo '$^'
     164!,
     165              '', "foo.bar\n");
     166
    1561671;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette