/[make]/make/tests/scripts/variables/flavors
ViewVC logotype

Diff of /make/tests/scripts/variables/flavors

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by psmith, Tue Sep 21 05:39:04 2004 UTC revision 1.6 by psmith, Mon Nov 29 01:35:14 2004 UTC
# Line 155  world'); Line 155  world');
155  run_make_test(undef, 'V1=@ V2=@', 'hello  run_make_test(undef, 'V1=@ V2=@', 'hello
156  world');  world');
157    
158    # TEST #10
159    # -------
160    # Test the basics; a "@" internally to the variable applies to only one line.
161    # A "@" before the variable applies to the entire variable.
162    
163    run_make_test('
164    define FOO
165    @echo hello
166    echo world
167    endef
168    define BAR
169    echo hello
170    echo world
171    endef
172    
173    all: foo bar
174    foo: ; $(FOO)
175    bar: ; @$(BAR)
176    ', '', 'hello
177    echo world
178    world
179    hello
180    world
181    ');
182    
183  1;  1;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26