blob: a4054bc717884ca91dba5eb8ad5863f05e2e58f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$description = "This tests the CURDIR varaible.";
$details = "Echo CURDIR both with and without -C. Also ensure overrides work.";
open(MAKEFILE,"> $makefile");
print MAKEFILE "all: ; \@echo \$(CURDIR)\n";
close(MAKEFILE);
# TEST #1
# -------
&run_make_with_options($makefile,"",&get_logfile);
$answer = "$pwd\n";
&compare_output($answer,&get_logfile(1));
1;
|