Changeset 2788 for branches


Ignore:
Timestamp:
Aug 27, 2006, 5:15:15 PM (19 years ago)
Author:
bird
Message:

Two new testcase: fork-3 and atexit-1

Location:
branches/libc-0.6/src/libctests/libc
Files:
4 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/libctests/libc/Makefile

    r2651 r2788  
    11# $Id$
    2        
    3        
    4 # default rule 
     2
     3
     4# default rule
    55all: tests-logged
    66
     
    6060        smoketests/access-1.c \
    6161        smoketests/alloca-1.c \
     62        smoketests/atexit-1.c \
    6263        smoketests/builtin-1.c \
    6364        smoketests/fork-1.c \
    6465        smoketests/fork-2.c \
     66        smoketests/fork-3.c \
    6567        smoketests/fsinternals-1.c \
    6668        smoketests/fsinternals-2.c \
     
    99101        smoketests/basename-dirname-1.c \
    100102        smoketests/fcloseall-1.c
    101        
     103
    102104#       smoketests/weak-export-1.c - dll
    103105
    104106smoketests/64bitio-1.c_ARGS = $(OUTDIR)/smoketests/2gb.file
    105107smoketests/alloca-1.c_LDFLAGS = -Zstack 1024
     108smoketests/atexit-1.c_DEPS = $(OUTDIR)/smoketests/atexit-1.dll
     109smoketests/fork-3.c_DEPS = $(OUTDIR)/smoketests/fork-3.dll
    106110smoketests/fsinternals-1.c_CFLAGS = -I ../../emx/src/lib
    107111smoketests/fsinternals-1.c_LDFLAGS = -Zomf -static -lc_omf386
     
    114118smoketests/embryo-1.c_DEPS = $(OUTDIR)/smoketests/asmstub-omf.exe
    115119smoketests/embryo-1.c_ARGS = $(ABSOUTDIR)/smoketests/asmstub-omf.exe
    116                        
     120
    117121$(OUTDIR)/smoketests/asmstub.exe: smoketests/asmstub.S
    118122        mkdir -p $(dir $@)
     
    124128        emxomf -m__text -o $(OUTDIR)/smoketests/asmstub-omf.obj $(OUTDIR)/smoketests/asmstub-omf.o
    125129        gcc -Zomf -lend -s -nostdlib -o $@ $(OUTDIR)/smoketests/asmstub-omf.obj
    126        
     130
     131$(OUTDIR)/smoketests/atexit-1.dll: smoketests/atexit-1-dll.c Makefile
     132        mkdir -p $(dir $@)
     133        gcc -shared $(CFLAGS) -o $@ $<
     134
     135$(OUTDIR)/smoketests/fork-3.dll: smoketests/fork-3-dll.c Makefile
     136        mkdir -p $(dir $@)
     137        gcc -shared $(CFLAGS) -o $@ $<
     138
     139
    127140SUBTESTS := \
    128141        SMOKETESTS \
    129142        BUGS
    130        
     143
    131144.SUFFIXES:
    132 .SUFFIXES: .c .exe .result     
     145.SUFFIXES: .c .exe .result
    133146
    134147
     
    164177                echo "FAILURE - $$(CC) $$(CFLAGS) -o $(OUTDIR)/$2.exe $($(1)_CFLAGS) $($(1)_LDFLAGS) $$<" > $$@; \
    165178        fi
    166        
     179
    167180$2: $(OUTDIR)/$2.result
    168181        @
    169        
     182
    170183_TESTS += $(OUTDIR)/$2.result
    171184$(eval _$(TEST) += $(OUTDIR)/$2.result)
     
    211224
    212225#
    213 # generate directory rules             
     226# generate directory rules
    214227#
    215228define def_dir
Note: See TracChangeset for help on using the changeset viewer.