|
Last change
on this file was 2579, checked in by bird, 12 years ago |
|
Importing make-3.82.tar.bz2 (md5sum 1a11100f3c63fcf5753818e59d63088f) with --auto-props but no keywords.
|
|
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.