source:
kBuild/vendor/gnumake/3.82/tests/scripts/variables/CURDIR@
2579
| Last change on this file since 2579 was 2579, checked in by , 12 years ago | |
|---|---|
| File size: 447 bytes | |
| Line | |
|---|---|
| 1 | # -*-perl-*- |
| 2 | |
| 3 | $description = "This tests the CURDIR varaible."; |
| 4 | |
| 5 | $details = "Echo CURDIR both with and without -C. Also ensure overrides work."; |
| 6 | |
| 7 | open(MAKEFILE,"> $makefile"); |
| 8 | print MAKEFILE "all: ; \@echo \$(CURDIR)\n"; |
| 9 | close(MAKEFILE); |
| 10 | |
| 11 | |
| 12 | # TEST #1 |
| 13 | # ------- |
| 14 | |
| 15 | &run_make_with_options($makefile,"",&get_logfile); |
| 16 | $answer = "$pwd\n"; |
| 17 | &compare_output($answer,&get_logfile(1)); |
| 18 | |
| 19 | |
| 20 | 1; |
Note:
See TracBrowser
for help on using the repository browser.

