VirtualBox

Ignore:
Timestamp:
Jun 17, 2012 8:45:31 PM (13 years ago)
Author:
bird
Message:

kmk: Merged in changes from GNU make 3.82. Previous GNU make base version was gnumake-2008-10-28-CVS.

Location:
trunk/src/kmk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk

    • Property svn:ignore
      •  

        old new  
        1313stamp-*
        1414makebook*
         15
        1516.*gdbinit
         17.gdb_history
         18
        1619*.dep
        1720*.dvi
         
        3134*.pg
        3235*.pgs
         36
        3337README
        3438README.DOS
        3539README.W32
         40README.OS2
        3641aclocal.m4
        3742autom4te.cache
         
        5257config.h.W32
        5358config.h-vms
         59
        5460loadavg
        5561loadavg.c
        5662make
         63
        5764.deps
        5865.dep_segment
         66ID
         67TAGS
         68
        5969_*
        6070sun4
         
        7282sol2
        7383i486-linux
         84
        7485customs
         86
        7587install-sh
        7688mkinstalldirs
         89
         90.directive.asc
  • trunk/src/kmk/tests

    • Property svn:ignore
      --- 
      +++ 
      
  • trunk/src/kmk/tests/scripts/variables/SHELL

    • Property svn:keywords deleted
    r1969 r2591  
    5050$extraENV{SHELL} = $mshell;
    5151
    52 # bird: This was wrong, see Savannah bug #24655. Fixed in kBuild.
    53 run_make_test("all: export SHELL := /./$mshell\n".'
    54 all:;@echo "$(SHELL) $$SHELL"
    55 ', '', "/./$mshell /./$mshell");
     52# bird: This was wrong at some point, see Savannah bug #24655. Was first fixed in kBuild.
     53run_make_test("
     54SHELL := /././$mshell
     55one: two
     56two: export SHELL := /./$mshell\n".'
     57one two:;@echo "$@: $(SHELL) $$SHELL"
     58', '', "two: /./$mshell /./$mshell\none: /././$mshell $mshell\n");
     59
     60# Test .SHELLFLAGS
     61
     62# We don't know the output here: on Solaris for example, every line printed
     63# by the shell in -x mode has a trailing space (!!)
     64my $script = 'true; true';
     65my $flags = '-xc';
     66my $out = `/bin/sh $flags '$script' 2>&1`;
     67
     68run_make_test(qq!
     69.SHELLFLAGS = $flags
     70all: ; \@$script
     71!,
     72              '', $out);
     73
     74# We can't just use "false" because on different systems it provides a
     75# different exit code--once again Solaris: false exits with 255 not 1
     76$script = 'true; false; true';
     77$flags = '-xec';
     78$out = `/bin/sh $flags '$script' 2>&1`;
     79my $err = $? >> 8;
     80
     81run_make_test(qq!
     82.SHELLFLAGS = $flags
     83all: ; \@$script
     84!,
     85              '', "$out#MAKE#: *** [all] Error $err\n", 512);
    5686
    57871;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette