VirtualBox

Ignore:
Timestamp:
Oct 29, 2008 12:37:51 AM (16 years ago)
Author:
bird
Message:

Merged in current GNU Make code (CVS from 2008-10-28). Ref #55.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/tests/scripts/variables/special

    r969 r1993  
    5151# &compare_output($answer, &get_logfile(1));
    5252
     53# Test the .RECIPEPREFIX variable
     54&run_make_test('
     55define foo
     56: foo-one \
     57foo-two
     58: foo-three
     59        : foo-four
     60endef
     61
     62orig: ; : orig-one
     63        : orig-two \
     64orig-three \
     65        orig-four \
     66                orig-five \\\\
     67        : orig-six
     68        $(foo)
     69
     70.RECIPEPREFIX = >
     71test: ; : test-one
     72>: test-two \
     73test-three \
     74>test-four \
     75>       test-five \\\\
     76>: test-six
     77>$(foo)
     78
     79.RECIPEPREFIX =
     80reset: ; : reset-one
     81        : reset-two \
     82reset-three \
     83        reset-four \
     84                reset-five \\\\
     85        : reset-six
     86        $(foo)
     87',
     88               'orig test reset',
     89               ': orig-one
     90: orig-two \
     91orig-three \
     92orig-four \
     93        orig-five \\\\
     94: orig-six
     95: foo-one foo-two
     96: foo-three
     97: foo-four
     98: test-one
     99: test-two \
     100test-three \
     101test-four \
     102        test-five \\\\
     103: test-six
     104: foo-one foo-two
     105: foo-three
     106: foo-four
     107: reset-one
     108: reset-two \
     109reset-three \
     110reset-four \
     111        reset-five \\\\
     112: reset-six
     113: foo-one foo-two
     114: foo-three
     115: foo-four');
    53116
    541171;
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