Home | History | Annotate | Download | only in variables
      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;
     21