Changeset f85bc15


Ignore:
Timestamp:
Jul 23, 2018, 4:46:36 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
552f5cb
Parents:
46782ab5
Message:

Test now work outside of tree except for io2

Location:
src/tests
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • src/tests/Makefile.am

    r46782ab5 rf85bc15  
    1515###############################################################################
    1616
     17
    1718debug=yes
    1819
     
    2425concurrent='-Econcurrent'
    2526endif
     27
     28TEST_PY = python ${srcdir}/test.py
    2629
    2730# applies to both programs
     
    4144TEST_FLAGS = $(if $(test), 2> $(test), )
    4245AM_CFLAGS = ${TEST_FLAGS} ${BUILD_FLAGS}
    43 CC = @CFA_BINDIR@/@CFA_NAME@
     46CC = ${abs_top_builddir}/src/driver/cfa -I${srcdir}
    4447
    4548.PHONY : list
    4649EXTRA_PROGRAMS = fstream_test avl_test # build but do not install
    4750
    48 fstream_test_SOURCES = fstream_test.c
     51fstream_test_SOURCES = ${srcdir}/fstream_test.c
    4952fstream_test_CFLAGS = $(if $(test), 2>> $(test), ) ${BUILD_FLAGS}
    5053
    51 avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c
     54avl_test_SOURCES = ${srcdir}/avltree/avl_test.c ${srcdir}/avltree/avl0.c ${srcdir}/avltree/avl1.c ${srcdir}/avltree/avl2.c ${srcdir}/avltree/avl3.c ${srcdir}/avltree/avl4.c ${srcdir}/avltree/avl-private.c
    5255avl_test_CFLAGS = $(if $(test), 2>> $(test), ) ${BUILD_FLAGS}
    5356
    5457all-local :
    55         @+python test.py --debug=${debug} ${concurrent} ${quick_test}
     58        @+${TEST_PY} --debug=${debug} ${concurrent} ${quick_test}
    5659
    5760all-tests :
    58         @+python test.py --all --debug=${debug} ${concurrent}           # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
     61        @+${TEST_PY} --all --debug=${debug} ${concurrent}               # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
    5962
    6063clean-local :
     
    6265
    6366list :
    64         @+python test.py --list ${concurrent}
     67        @+${TEST_PY} --list ${concurrent}
    6568
    6669concurrency :
    67         @+python test.py --debug=${debug} -Iconcurrent
     70        @+${TEST_PY} --debug=${debug} -Iconcurrent
    6871
    6972.dummy : .dummy.c @CFA_BINDIR@/@CFA_NAME@
     
    7174
    7275
    73 % : %.c @CFA_BINDIR@/@CFA_NAME@
    74         ${CC} ${AM_CFLAGS} ${CFLAGS} ${<} -o ${@}
     76% : ${srcdir}/%.c @CFA_BINDIR@/@CFA_NAME@
     77        ${CC} ${AM_CFLAGS} ${CFLAGS} $(abspath ${<}) -o ${@}
    7578
    7679declarationSpecifier: declarationSpecifier.c @CFA_BINDIR@/@CFA_NAME@
    77         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     80        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    7881
    7982gccExtensions : gccExtensions.c @CFA_BINDIR@/@CFA_NAME@
    80         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     83        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    8184
    8285extension : extension.c @CFA_BINDIR@/@CFA_NAME@
    83         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     86        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    8487
    8588attributes : attributes.c @CFA_BINDIR@/@CFA_NAME@
    86         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     89        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    8790
    8891functions: functions.c @CFA_BINDIR@/@CFA_NAME@
    89         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     92        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    9093
    9194KRfunctions : KRfunctions.c @CFA_BINDIR@/@CFA_NAME@
    92         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     95        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    9396
    9497sched-ext-parse : sched-ext-parse.c @CFA_BINDIR@/@CFA_NAME@
    95         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     98        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    9699
    97100gmp : gmp.c @CFA_BINDIR@/@CFA_NAME@
    98         ${CC} ${AM_CFLAGS} ${CFLAGS} -lgmp ${<} -o ${@}
     101        ${CC} ${AM_CFLAGS} ${CFLAGS} -lgmp $(abspath ${<}) -o ${@}
    99102
    100103completeTypeError : completeTypeError.c @CFA_BINDIR@/@CFA_NAME@
    101         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     104        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    102105
    103106typedefRedef-ERR1: typedefRedef.c @CFA_BINDIR@/@CFA_NAME@
    104         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     107        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    105108
    106109alloc-ERROR: alloc.c @CFA_BINDIR@/@CFA_NAME@
    107         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     110        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    108111
    109112fallthrough-ERROR: fallthrough.c @CFA_BINDIR@/@CFA_NAME@
    110         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     113        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    111114
    112115nested-types-ERR1: nested-types.c @CFA_BINDIR@/@CFA_NAME@
    113         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     116        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    114117
    115118nested-types-ERR2: nested-types.c @CFA_BINDIR@/@CFA_NAME@
    116         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 ${<} -o ${@}
     119        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 $(abspath ${<}) -o ${@}
    117120
    118121# Constructor/destructor tests
    119122raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
    120         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     123        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    121124
    122125raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
    123         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 ${<} -o ${@}
     126        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 $(abspath ${<}) -o ${@}
    124127
    125128raii/memberCtors-ERR1: raii/memberCtors.c @CFA_BINDIR@/@CFA_NAME@
    126         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     129        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    127130
    128131raii/ctor-autogen-ERR1: raii/ctor-autogen.c @CFA_BINDIR@/@CFA_NAME@
    129         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     132        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    130133
    131134# Warnings
    132135warnings/self-assignment: warnings/self-assignment.c @CFA_BINDIR@/@CFA_NAME@
    133         ${CC} ${AM_CFLAGS} ${CFLAGS} ${<} 2> ${@} -fsyntax-only
     136        ${CC} ${AM_CFLAGS} ${CFLAGS} $(abspath ${<}) 2> ${@} -fsyntax-only
    134137
    135138#builtins
    136139builtins/sync: builtins/sync.c @CFA_BINDIR@/@CFA_NAME@
    137         ${CC} ${AM_CFLAGS} ${CFLAGS} ${<} 2> ${@} -fsyntax-only
     140        ${CC} ${AM_CFLAGS} ${CFLAGS} $(abspath ${<}) 2> ${@} -fsyntax-only
  • src/tests/Makefile.in

    r46782ab5 rf85bc15  
    103103mkinstalldirs = $(install_sh) -d
    104104CONFIG_HEADER = $(top_builddir)/config.h
    105 CONFIG_CLEAN_FILES =
     105CONFIG_CLEAN_FILES = config.py
    106106CONFIG_CLEAN_VPATH_FILES =
    107107am__dirstamp = $(am__leading_dot)dirstamp
    108 am_avl_test_OBJECTS = avltree/avl_test-avl_test.$(OBJEXT) \
    109         avltree/avl_test-avl0.$(OBJEXT) \
    110         avltree/avl_test-avl1.$(OBJEXT) \
    111         avltree/avl_test-avl2.$(OBJEXT) \
    112         avltree/avl_test-avl3.$(OBJEXT) \
    113         avltree/avl_test-avl4.$(OBJEXT) \
    114         avltree/avl_test-avl-private.$(OBJEXT)
     108am_avl_test_OBJECTS = ${srcdir}/avltree/avl_test-avl_test.$(OBJEXT) \
     109        ${srcdir}/avltree/avl_test-avl0.$(OBJEXT) \
     110        ${srcdir}/avltree/avl_test-avl1.$(OBJEXT) \
     111        ${srcdir}/avltree/avl_test-avl2.$(OBJEXT) \
     112        ${srcdir}/avltree/avl_test-avl3.$(OBJEXT) \
     113        ${srcdir}/avltree/avl_test-avl4.$(OBJEXT) \
     114        ${srcdir}/avltree/avl_test-avl-private.$(OBJEXT)
    115115avl_test_OBJECTS = $(am_avl_test_OBJECTS)
    116116avl_test_LDADD = $(LDADD)
    117117avl_test_LINK = $(CCLD) $(avl_test_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
    118118        $(LDFLAGS) -o $@
    119 am_fstream_test_OBJECTS = fstream_test-fstream_test.$(OBJEXT)
     119am_fstream_test_OBJECTS =  \
     120        ${srcdir}/fstream_test-fstream_test.$(OBJEXT)
    120121fstream_test_OBJECTS = $(am_fstream_test_OBJECTS)
    121122fstream_test_LDADD = $(LDADD)
     
    180181ETAGS = etags
    181182CTAGS = ctags
    182 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/automake/depcomp
     183am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.py.in \
     184        $(top_srcdir)/automake/depcomp
    183185DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    184186ACLOCAL = @ACLOCAL@
     
    191193AWK = @AWK@
    192194BACKEND_CC = @BACKEND_CC@
    193 CC = @CFA_BINDIR@/@CFA_NAME@
     195CC = ${abs_top_builddir}/src/driver/cfa -I${srcdir}
    194196CCAS = @CCAS@
    195197CCASDEPMODE = @CCASDEPMODE@
     
    306308@BUILD_CONCURRENCY_FALSE@concurrent = '-Econcurrent'
    307309@BUILD_CONCURRENCY_TRUE@concurrent =
     310TEST_PY = python ${srcdir}/test.py
    308311
    309312# applies to both programs
     
    313316TEST_FLAGS = $(if $(test), 2> $(test), )
    314317AM_CFLAGS = ${TEST_FLAGS} ${BUILD_FLAGS}
    315 fstream_test_SOURCES = fstream_test.c
     318fstream_test_SOURCES = ${srcdir}/fstream_test.c
    316319fstream_test_CFLAGS = $(if $(test), 2>> $(test), ) ${BUILD_FLAGS}
    317 avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c
     320avl_test_SOURCES = ${srcdir}/avltree/avl_test.c ${srcdir}/avltree/avl0.c ${srcdir}/avltree/avl1.c ${srcdir}/avltree/avl2.c ${srcdir}/avltree/avl3.c ${srcdir}/avltree/avl4.c ${srcdir}/avltree/avl-private.c
    318321avl_test_CFLAGS = $(if $(test), 2>> $(test), ) ${BUILD_FLAGS}
    319322all: all-am
     
    350353        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
    351354$(am__aclocal_m4_deps):
    352 avltree/$(am__dirstamp):
    353         @$(MKDIR_P) avltree
    354         @: > avltree/$(am__dirstamp)
    355 avltree/$(DEPDIR)/$(am__dirstamp):
    356         @$(MKDIR_P) avltree/$(DEPDIR)
    357         @: > avltree/$(DEPDIR)/$(am__dirstamp)
    358 avltree/avl_test-avl_test.$(OBJEXT): avltree/$(am__dirstamp) \
    359         avltree/$(DEPDIR)/$(am__dirstamp)
    360 avltree/avl_test-avl0.$(OBJEXT): avltree/$(am__dirstamp) \
    361         avltree/$(DEPDIR)/$(am__dirstamp)
    362 avltree/avl_test-avl1.$(OBJEXT): avltree/$(am__dirstamp) \
    363         avltree/$(DEPDIR)/$(am__dirstamp)
    364 avltree/avl_test-avl2.$(OBJEXT): avltree/$(am__dirstamp) \
    365         avltree/$(DEPDIR)/$(am__dirstamp)
    366 avltree/avl_test-avl3.$(OBJEXT): avltree/$(am__dirstamp) \
    367         avltree/$(DEPDIR)/$(am__dirstamp)
    368 avltree/avl_test-avl4.$(OBJEXT): avltree/$(am__dirstamp) \
    369         avltree/$(DEPDIR)/$(am__dirstamp)
    370 avltree/avl_test-avl-private.$(OBJEXT): avltree/$(am__dirstamp) \
    371         avltree/$(DEPDIR)/$(am__dirstamp)
     355config.py: $(top_builddir)/config.status $(srcdir)/config.py.in
     356        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
     357${srcdir}/avltree/$(am__dirstamp):
     358        @$(MKDIR_P) ${srcdir}/avltree
     359        @: > ${srcdir}/avltree/$(am__dirstamp)
     360${srcdir}/avltree/$(DEPDIR)/$(am__dirstamp):
     361        @$(MKDIR_P) ${srcdir}/avltree/$(DEPDIR)
     362        @: > ${srcdir}/avltree/$(DEPDIR)/$(am__dirstamp)
     363${srcdir}/avltree/avl_test-avl_test.$(OBJEXT):  \
     364        ${srcdir}/avltree/$(am__dirstamp) \
     365        ${srcdir}/avltree/$(DEPDIR)/$(am__dirstamp)
     366${srcdir}/avltree/avl_test-avl0.$(OBJEXT):  \
     367        ${srcdir}/avltree/$(am__dirstamp) \
     368        ${srcdir}/avltree/$(DEPDIR)/$(am__dirstamp)
     369${srcdir}/avltree/avl_test-avl1.$(OBJEXT):  \
     370        ${srcdir}/avltree/$(am__dirstamp) \
     371        ${srcdir}/avltree/$(DEPDIR)/$(am__dirstamp)
     372${srcdir}/avltree/avl_test-avl2.$(OBJEXT):  \
     373        ${srcdir}/avltree/$(am__dirstamp) \
     374        ${srcdir}/avltree/$(DEPDIR)/$(am__dirstamp)
     375${srcdir}/avltree/avl_test-avl3.$(OBJEXT):  \
     376        ${srcdir}/avltree/$(am__dirstamp) \
     377        ${srcdir}/avltree/$(DEPDIR)/$(am__dirstamp)
     378${srcdir}/avltree/avl_test-avl4.$(OBJEXT):  \
     379        ${srcdir}/avltree/$(am__dirstamp) \
     380        ${srcdir}/avltree/$(DEPDIR)/$(am__dirstamp)
     381${srcdir}/avltree/avl_test-avl-private.$(OBJEXT):  \
     382        ${srcdir}/avltree/$(am__dirstamp) \
     383        ${srcdir}/avltree/$(DEPDIR)/$(am__dirstamp)
    372384
    373385avl_test$(EXEEXT): $(avl_test_OBJECTS) $(avl_test_DEPENDENCIES) $(EXTRA_avl_test_DEPENDENCIES)
    374386        @rm -f avl_test$(EXEEXT)
    375387        $(AM_V_CCLD)$(avl_test_LINK) $(avl_test_OBJECTS) $(avl_test_LDADD) $(LIBS)
     388${srcdir}/$(am__dirstamp):
     389        @$(MKDIR_P) ${srcdir}
     390        @: > ${srcdir}/$(am__dirstamp)
     391${srcdir}/$(DEPDIR)/$(am__dirstamp):
     392        @$(MKDIR_P) ${srcdir}/$(DEPDIR)
     393        @: > ${srcdir}/$(DEPDIR)/$(am__dirstamp)
     394${srcdir}/fstream_test-fstream_test.$(OBJEXT):  \
     395        ${srcdir}/$(am__dirstamp) ${srcdir}/$(DEPDIR)/$(am__dirstamp)
    376396
    377397fstream_test$(EXEEXT): $(fstream_test_OBJECTS) $(fstream_test_DEPENDENCIES) $(EXTRA_fstream_test_DEPENDENCIES)
     
    381401mostlyclean-compile:
    382402        -rm -f *.$(OBJEXT)
    383         -rm -f avltree/*.$(OBJEXT)
     403        -rm -f ${srcdir}/*.$(OBJEXT)
     404        -rm -f ${srcdir}/avltree/*.$(OBJEXT)
    384405
    385406distclean-compile:
    386407        -rm -f *.tab.c
    387408
    388 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstream_test-fstream_test.Po@am__quote@
    389 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl_test-avl-private.Po@am__quote@
    390 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl_test-avl0.Po@am__quote@
    391 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl_test-avl1.Po@am__quote@
    392 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl_test-avl2.Po@am__quote@
    393 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl_test-avl3.Po@am__quote@
    394 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl_test-avl4.Po@am__quote@
    395 @AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl_test-avl_test.Po@am__quote@
     409@AMDEP_TRUE@@am__include@ @am__quote@${srcdir}/$(DEPDIR)/fstream_test-fstream_test.Po@am__quote@
     410@AMDEP_TRUE@@am__include@ @am__quote@${srcdir}/avltree/$(DEPDIR)/avl_test-avl-private.Po@am__quote@
     411@AMDEP_TRUE@@am__include@ @am__quote@${srcdir}/avltree/$(DEPDIR)/avl_test-avl0.Po@am__quote@
     412@AMDEP_TRUE@@am__include@ @am__quote@${srcdir}/avltree/$(DEPDIR)/avl_test-avl1.Po@am__quote@
     413@AMDEP_TRUE@@am__include@ @am__quote@${srcdir}/avltree/$(DEPDIR)/avl_test-avl2.Po@am__quote@
     414@AMDEP_TRUE@@am__include@ @am__quote@${srcdir}/avltree/$(DEPDIR)/avl_test-avl3.Po@am__quote@
     415@AMDEP_TRUE@@am__include@ @am__quote@${srcdir}/avltree/$(DEPDIR)/avl_test-avl4.Po@am__quote@
     416@AMDEP_TRUE@@am__include@ @am__quote@${srcdir}/avltree/$(DEPDIR)/avl_test-avl_test.Po@am__quote@
    396417
    397418.c.o:
     
    411432@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    412433
    413 avltree/avl_test-avl_test.o: avltree/avl_test.c
    414 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl_test.o -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl_test.Tpo -c -o avltree/avl_test-avl_test.o `test -f 'avltree/avl_test.c' || echo '$(srcdir)/'`avltree/avl_test.c
    415 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl_test.Tpo avltree/$(DEPDIR)/avl_test-avl_test.Po
    416 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl_test.c' object='avltree/avl_test-avl_test.o' libtool=no @AMDEPBACKSLASH@
    417 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    418 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl_test.o `test -f 'avltree/avl_test.c' || echo '$(srcdir)/'`avltree/avl_test.c
    419 
    420 avltree/avl_test-avl_test.obj: avltree/avl_test.c
    421 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl_test.obj -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl_test.Tpo -c -o avltree/avl_test-avl_test.obj `if test -f 'avltree/avl_test.c'; then $(CYGPATH_W) 'avltree/avl_test.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl_test.c'; fi`
    422 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl_test.Tpo avltree/$(DEPDIR)/avl_test-avl_test.Po
    423 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl_test.c' object='avltree/avl_test-avl_test.obj' libtool=no @AMDEPBACKSLASH@
    424 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    425 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl_test.obj `if test -f 'avltree/avl_test.c'; then $(CYGPATH_W) 'avltree/avl_test.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl_test.c'; fi`
    426 
    427 avltree/avl_test-avl0.o: avltree/avl0.c
    428 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl0.o -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl0.Tpo -c -o avltree/avl_test-avl0.o `test -f 'avltree/avl0.c' || echo '$(srcdir)/'`avltree/avl0.c
    429 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl0.Tpo avltree/$(DEPDIR)/avl_test-avl0.Po
    430 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl0.c' object='avltree/avl_test-avl0.o' libtool=no @AMDEPBACKSLASH@
    431 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    432 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl0.o `test -f 'avltree/avl0.c' || echo '$(srcdir)/'`avltree/avl0.c
    433 
    434 avltree/avl_test-avl0.obj: avltree/avl0.c
    435 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl0.obj -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl0.Tpo -c -o avltree/avl_test-avl0.obj `if test -f 'avltree/avl0.c'; then $(CYGPATH_W) 'avltree/avl0.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl0.c'; fi`
    436 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl0.Tpo avltree/$(DEPDIR)/avl_test-avl0.Po
    437 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl0.c' object='avltree/avl_test-avl0.obj' libtool=no @AMDEPBACKSLASH@
    438 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    439 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl0.obj `if test -f 'avltree/avl0.c'; then $(CYGPATH_W) 'avltree/avl0.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl0.c'; fi`
    440 
    441 avltree/avl_test-avl1.o: avltree/avl1.c
    442 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl1.o -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl1.Tpo -c -o avltree/avl_test-avl1.o `test -f 'avltree/avl1.c' || echo '$(srcdir)/'`avltree/avl1.c
    443 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl1.Tpo avltree/$(DEPDIR)/avl_test-avl1.Po
    444 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl1.c' object='avltree/avl_test-avl1.o' libtool=no @AMDEPBACKSLASH@
    445 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    446 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl1.o `test -f 'avltree/avl1.c' || echo '$(srcdir)/'`avltree/avl1.c
    447 
    448 avltree/avl_test-avl1.obj: avltree/avl1.c
    449 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl1.obj -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl1.Tpo -c -o avltree/avl_test-avl1.obj `if test -f 'avltree/avl1.c'; then $(CYGPATH_W) 'avltree/avl1.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl1.c'; fi`
    450 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl1.Tpo avltree/$(DEPDIR)/avl_test-avl1.Po
    451 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl1.c' object='avltree/avl_test-avl1.obj' libtool=no @AMDEPBACKSLASH@
    452 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    453 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl1.obj `if test -f 'avltree/avl1.c'; then $(CYGPATH_W) 'avltree/avl1.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl1.c'; fi`
    454 
    455 avltree/avl_test-avl2.o: avltree/avl2.c
    456 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl2.o -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl2.Tpo -c -o avltree/avl_test-avl2.o `test -f 'avltree/avl2.c' || echo '$(srcdir)/'`avltree/avl2.c
    457 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl2.Tpo avltree/$(DEPDIR)/avl_test-avl2.Po
    458 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl2.c' object='avltree/avl_test-avl2.o' libtool=no @AMDEPBACKSLASH@
    459 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    460 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl2.o `test -f 'avltree/avl2.c' || echo '$(srcdir)/'`avltree/avl2.c
    461 
    462 avltree/avl_test-avl2.obj: avltree/avl2.c
    463 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl2.obj -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl2.Tpo -c -o avltree/avl_test-avl2.obj `if test -f 'avltree/avl2.c'; then $(CYGPATH_W) 'avltree/avl2.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl2.c'; fi`
    464 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl2.Tpo avltree/$(DEPDIR)/avl_test-avl2.Po
    465 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl2.c' object='avltree/avl_test-avl2.obj' libtool=no @AMDEPBACKSLASH@
    466 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    467 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl2.obj `if test -f 'avltree/avl2.c'; then $(CYGPATH_W) 'avltree/avl2.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl2.c'; fi`
    468 
    469 avltree/avl_test-avl3.o: avltree/avl3.c
    470 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl3.o -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl3.Tpo -c -o avltree/avl_test-avl3.o `test -f 'avltree/avl3.c' || echo '$(srcdir)/'`avltree/avl3.c
    471 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl3.Tpo avltree/$(DEPDIR)/avl_test-avl3.Po
    472 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl3.c' object='avltree/avl_test-avl3.o' libtool=no @AMDEPBACKSLASH@
    473 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    474 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl3.o `test -f 'avltree/avl3.c' || echo '$(srcdir)/'`avltree/avl3.c
    475 
    476 avltree/avl_test-avl3.obj: avltree/avl3.c
    477 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl3.obj -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl3.Tpo -c -o avltree/avl_test-avl3.obj `if test -f 'avltree/avl3.c'; then $(CYGPATH_W) 'avltree/avl3.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl3.c'; fi`
    478 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl3.Tpo avltree/$(DEPDIR)/avl_test-avl3.Po
    479 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl3.c' object='avltree/avl_test-avl3.obj' libtool=no @AMDEPBACKSLASH@
    480 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    481 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl3.obj `if test -f 'avltree/avl3.c'; then $(CYGPATH_W) 'avltree/avl3.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl3.c'; fi`
    482 
    483 avltree/avl_test-avl4.o: avltree/avl4.c
    484 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl4.o -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl4.Tpo -c -o avltree/avl_test-avl4.o `test -f 'avltree/avl4.c' || echo '$(srcdir)/'`avltree/avl4.c
    485 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl4.Tpo avltree/$(DEPDIR)/avl_test-avl4.Po
    486 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl4.c' object='avltree/avl_test-avl4.o' libtool=no @AMDEPBACKSLASH@
    487 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    488 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl4.o `test -f 'avltree/avl4.c' || echo '$(srcdir)/'`avltree/avl4.c
    489 
    490 avltree/avl_test-avl4.obj: avltree/avl4.c
    491 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl4.obj -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl4.Tpo -c -o avltree/avl_test-avl4.obj `if test -f 'avltree/avl4.c'; then $(CYGPATH_W) 'avltree/avl4.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl4.c'; fi`
    492 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl4.Tpo avltree/$(DEPDIR)/avl_test-avl4.Po
    493 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl4.c' object='avltree/avl_test-avl4.obj' libtool=no @AMDEPBACKSLASH@
    494 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    495 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl4.obj `if test -f 'avltree/avl4.c'; then $(CYGPATH_W) 'avltree/avl4.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl4.c'; fi`
    496 
    497 avltree/avl_test-avl-private.o: avltree/avl-private.c
    498 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl-private.o -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl-private.Tpo -c -o avltree/avl_test-avl-private.o `test -f 'avltree/avl-private.c' || echo '$(srcdir)/'`avltree/avl-private.c
    499 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl-private.Tpo avltree/$(DEPDIR)/avl_test-avl-private.Po
    500 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl-private.c' object='avltree/avl_test-avl-private.o' libtool=no @AMDEPBACKSLASH@
    501 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    502 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl-private.o `test -f 'avltree/avl-private.c' || echo '$(srcdir)/'`avltree/avl-private.c
    503 
    504 avltree/avl_test-avl-private.obj: avltree/avl-private.c
    505 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT avltree/avl_test-avl-private.obj -MD -MP -MF avltree/$(DEPDIR)/avl_test-avl-private.Tpo -c -o avltree/avl_test-avl-private.obj `if test -f 'avltree/avl-private.c'; then $(CYGPATH_W) 'avltree/avl-private.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl-private.c'; fi`
    506 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) avltree/$(DEPDIR)/avl_test-avl-private.Tpo avltree/$(DEPDIR)/avl_test-avl-private.Po
    507 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='avltree/avl-private.c' object='avltree/avl_test-avl-private.obj' libtool=no @AMDEPBACKSLASH@
    508 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    509 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o avltree/avl_test-avl-private.obj `if test -f 'avltree/avl-private.c'; then $(CYGPATH_W) 'avltree/avl-private.c'; else $(CYGPATH_W) '$(srcdir)/avltree/avl-private.c'; fi`
    510 
    511 fstream_test-fstream_test.o: fstream_test.c
    512 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstream_test_CFLAGS) $(CFLAGS) -MT fstream_test-fstream_test.o -MD -MP -MF $(DEPDIR)/fstream_test-fstream_test.Tpo -c -o fstream_test-fstream_test.o `test -f 'fstream_test.c' || echo '$(srcdir)/'`fstream_test.c
    513 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/fstream_test-fstream_test.Tpo $(DEPDIR)/fstream_test-fstream_test.Po
    514 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='fstream_test.c' object='fstream_test-fstream_test.o' libtool=no @AMDEPBACKSLASH@
    515 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    516 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstream_test_CFLAGS) $(CFLAGS) -c -o fstream_test-fstream_test.o `test -f 'fstream_test.c' || echo '$(srcdir)/'`fstream_test.c
    517 
    518 fstream_test-fstream_test.obj: fstream_test.c
    519 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstream_test_CFLAGS) $(CFLAGS) -MT fstream_test-fstream_test.obj -MD -MP -MF $(DEPDIR)/fstream_test-fstream_test.Tpo -c -o fstream_test-fstream_test.obj `if test -f 'fstream_test.c'; then $(CYGPATH_W) 'fstream_test.c'; else $(CYGPATH_W) '$(srcdir)/fstream_test.c'; fi`
    520 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/fstream_test-fstream_test.Tpo $(DEPDIR)/fstream_test-fstream_test.Po
    521 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='fstream_test.c' object='fstream_test-fstream_test.obj' libtool=no @AMDEPBACKSLASH@
    522 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    523 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstream_test_CFLAGS) $(CFLAGS) -c -o fstream_test-fstream_test.obj `if test -f 'fstream_test.c'; then $(CYGPATH_W) 'fstream_test.c'; else $(CYGPATH_W) '$(srcdir)/fstream_test.c'; fi`
     434${srcdir}/avltree/avl_test-avl_test.o: ${srcdir}/avltree/avl_test.c
     435@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl_test.o -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl_test.Tpo -c -o ${srcdir}/avltree/avl_test-avl_test.o `test -f '${srcdir}/avltree/avl_test.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl_test.c
     436@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl_test.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl_test.Po
     437@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl_test.c' object='${srcdir}/avltree/avl_test-avl_test.o' libtool=no @AMDEPBACKSLASH@
     438@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     439@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl_test.o `test -f '${srcdir}/avltree/avl_test.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl_test.c
     440
     441${srcdir}/avltree/avl_test-avl_test.obj: ${srcdir}/avltree/avl_test.c
     442@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl_test.obj -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl_test.Tpo -c -o ${srcdir}/avltree/avl_test-avl_test.obj `if test -f '${srcdir}/avltree/avl_test.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl_test.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl_test.c'; fi`
     443@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl_test.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl_test.Po
     444@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl_test.c' object='${srcdir}/avltree/avl_test-avl_test.obj' libtool=no @AMDEPBACKSLASH@
     445@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     446@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl_test.obj `if test -f '${srcdir}/avltree/avl_test.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl_test.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl_test.c'; fi`
     447
     448${srcdir}/avltree/avl_test-avl0.o: ${srcdir}/avltree/avl0.c
     449@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl0.o -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl0.Tpo -c -o ${srcdir}/avltree/avl_test-avl0.o `test -f '${srcdir}/avltree/avl0.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl0.c
     450@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl0.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl0.Po
     451@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl0.c' object='${srcdir}/avltree/avl_test-avl0.o' libtool=no @AMDEPBACKSLASH@
     452@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     453@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl0.o `test -f '${srcdir}/avltree/avl0.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl0.c
     454
     455${srcdir}/avltree/avl_test-avl0.obj: ${srcdir}/avltree/avl0.c
     456@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl0.obj -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl0.Tpo -c -o ${srcdir}/avltree/avl_test-avl0.obj `if test -f '${srcdir}/avltree/avl0.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl0.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl0.c'; fi`
     457@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl0.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl0.Po
     458@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl0.c' object='${srcdir}/avltree/avl_test-avl0.obj' libtool=no @AMDEPBACKSLASH@
     459@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     460@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl0.obj `if test -f '${srcdir}/avltree/avl0.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl0.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl0.c'; fi`
     461
     462${srcdir}/avltree/avl_test-avl1.o: ${srcdir}/avltree/avl1.c
     463@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl1.o -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl1.Tpo -c -o ${srcdir}/avltree/avl_test-avl1.o `test -f '${srcdir}/avltree/avl1.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl1.c
     464@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl1.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl1.Po
     465@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl1.c' object='${srcdir}/avltree/avl_test-avl1.o' libtool=no @AMDEPBACKSLASH@
     466@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     467@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl1.o `test -f '${srcdir}/avltree/avl1.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl1.c
     468
     469${srcdir}/avltree/avl_test-avl1.obj: ${srcdir}/avltree/avl1.c
     470@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl1.obj -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl1.Tpo -c -o ${srcdir}/avltree/avl_test-avl1.obj `if test -f '${srcdir}/avltree/avl1.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl1.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl1.c'; fi`
     471@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl1.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl1.Po
     472@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl1.c' object='${srcdir}/avltree/avl_test-avl1.obj' libtool=no @AMDEPBACKSLASH@
     473@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     474@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl1.obj `if test -f '${srcdir}/avltree/avl1.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl1.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl1.c'; fi`
     475
     476${srcdir}/avltree/avl_test-avl2.o: ${srcdir}/avltree/avl2.c
     477@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl2.o -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl2.Tpo -c -o ${srcdir}/avltree/avl_test-avl2.o `test -f '${srcdir}/avltree/avl2.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl2.c
     478@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl2.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl2.Po
     479@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl2.c' object='${srcdir}/avltree/avl_test-avl2.o' libtool=no @AMDEPBACKSLASH@
     480@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     481@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl2.o `test -f '${srcdir}/avltree/avl2.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl2.c
     482
     483${srcdir}/avltree/avl_test-avl2.obj: ${srcdir}/avltree/avl2.c
     484@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl2.obj -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl2.Tpo -c -o ${srcdir}/avltree/avl_test-avl2.obj `if test -f '${srcdir}/avltree/avl2.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl2.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl2.c'; fi`
     485@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl2.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl2.Po
     486@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl2.c' object='${srcdir}/avltree/avl_test-avl2.obj' libtool=no @AMDEPBACKSLASH@
     487@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     488@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl2.obj `if test -f '${srcdir}/avltree/avl2.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl2.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl2.c'; fi`
     489
     490${srcdir}/avltree/avl_test-avl3.o: ${srcdir}/avltree/avl3.c
     491@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl3.o -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl3.Tpo -c -o ${srcdir}/avltree/avl_test-avl3.o `test -f '${srcdir}/avltree/avl3.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl3.c
     492@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl3.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl3.Po
     493@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl3.c' object='${srcdir}/avltree/avl_test-avl3.o' libtool=no @AMDEPBACKSLASH@
     494@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     495@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl3.o `test -f '${srcdir}/avltree/avl3.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl3.c
     496
     497${srcdir}/avltree/avl_test-avl3.obj: ${srcdir}/avltree/avl3.c
     498@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl3.obj -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl3.Tpo -c -o ${srcdir}/avltree/avl_test-avl3.obj `if test -f '${srcdir}/avltree/avl3.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl3.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl3.c'; fi`
     499@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl3.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl3.Po
     500@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl3.c' object='${srcdir}/avltree/avl_test-avl3.obj' libtool=no @AMDEPBACKSLASH@
     501@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     502@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl3.obj `if test -f '${srcdir}/avltree/avl3.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl3.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl3.c'; fi`
     503
     504${srcdir}/avltree/avl_test-avl4.o: ${srcdir}/avltree/avl4.c
     505@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl4.o -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl4.Tpo -c -o ${srcdir}/avltree/avl_test-avl4.o `test -f '${srcdir}/avltree/avl4.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl4.c
     506@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl4.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl4.Po
     507@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl4.c' object='${srcdir}/avltree/avl_test-avl4.o' libtool=no @AMDEPBACKSLASH@
     508@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     509@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl4.o `test -f '${srcdir}/avltree/avl4.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl4.c
     510
     511${srcdir}/avltree/avl_test-avl4.obj: ${srcdir}/avltree/avl4.c
     512@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl4.obj -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl4.Tpo -c -o ${srcdir}/avltree/avl_test-avl4.obj `if test -f '${srcdir}/avltree/avl4.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl4.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl4.c'; fi`
     513@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl4.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl4.Po
     514@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl4.c' object='${srcdir}/avltree/avl_test-avl4.obj' libtool=no @AMDEPBACKSLASH@
     515@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     516@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl4.obj `if test -f '${srcdir}/avltree/avl4.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl4.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl4.c'; fi`
     517
     518${srcdir}/avltree/avl_test-avl-private.o: ${srcdir}/avltree/avl-private.c
     519@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl-private.o -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl-private.Tpo -c -o ${srcdir}/avltree/avl_test-avl-private.o `test -f '${srcdir}/avltree/avl-private.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl-private.c
     520@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl-private.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl-private.Po
     521@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl-private.c' object='${srcdir}/avltree/avl_test-avl-private.o' libtool=no @AMDEPBACKSLASH@
     522@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     523@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl-private.o `test -f '${srcdir}/avltree/avl-private.c' || echo '$(srcdir)/'`${srcdir}/avltree/avl-private.c
     524
     525${srcdir}/avltree/avl_test-avl-private.obj: ${srcdir}/avltree/avl-private.c
     526@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/avltree/avl_test-avl-private.obj -MD -MP -MF ${srcdir}/avltree/$(DEPDIR)/avl_test-avl-private.Tpo -c -o ${srcdir}/avltree/avl_test-avl-private.obj `if test -f '${srcdir}/avltree/avl-private.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl-private.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl-private.c'; fi`
     527@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/avltree/$(DEPDIR)/avl_test-avl-private.Tpo ${srcdir}/avltree/$(DEPDIR)/avl_test-avl-private.Po
     528@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/avltree/avl-private.c' object='${srcdir}/avltree/avl_test-avl-private.obj' libtool=no @AMDEPBACKSLASH@
     529@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     530@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(avl_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/avltree/avl_test-avl-private.obj `if test -f '${srcdir}/avltree/avl-private.c'; then $(CYGPATH_W) '${srcdir}/avltree/avl-private.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/avltree/avl-private.c'; fi`
     531
     532${srcdir}/fstream_test-fstream_test.o: ${srcdir}/fstream_test.c
     533@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstream_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/fstream_test-fstream_test.o -MD -MP -MF ${srcdir}/$(DEPDIR)/fstream_test-fstream_test.Tpo -c -o ${srcdir}/fstream_test-fstream_test.o `test -f '${srcdir}/fstream_test.c' || echo '$(srcdir)/'`${srcdir}/fstream_test.c
     534@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/$(DEPDIR)/fstream_test-fstream_test.Tpo ${srcdir}/$(DEPDIR)/fstream_test-fstream_test.Po
     535@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/fstream_test.c' object='${srcdir}/fstream_test-fstream_test.o' libtool=no @AMDEPBACKSLASH@
     536@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     537@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstream_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/fstream_test-fstream_test.o `test -f '${srcdir}/fstream_test.c' || echo '$(srcdir)/'`${srcdir}/fstream_test.c
     538
     539${srcdir}/fstream_test-fstream_test.obj: ${srcdir}/fstream_test.c
     540@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstream_test_CFLAGS) $(CFLAGS) -MT ${srcdir}/fstream_test-fstream_test.obj -MD -MP -MF ${srcdir}/$(DEPDIR)/fstream_test-fstream_test.Tpo -c -o ${srcdir}/fstream_test-fstream_test.obj `if test -f '${srcdir}/fstream_test.c'; then $(CYGPATH_W) '${srcdir}/fstream_test.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/fstream_test.c'; fi`
     541@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) ${srcdir}/$(DEPDIR)/fstream_test-fstream_test.Tpo ${srcdir}/$(DEPDIR)/fstream_test-fstream_test.Po
     542@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='${srcdir}/fstream_test.c' object='${srcdir}/fstream_test-fstream_test.obj' libtool=no @AMDEPBACKSLASH@
     543@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     544@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fstream_test_CFLAGS) $(CFLAGS) -c -o ${srcdir}/fstream_test-fstream_test.obj `if test -f '${srcdir}/fstream_test.c'; then $(CYGPATH_W) '${srcdir}/fstream_test.c'; else $(CYGPATH_W) '$(srcdir)/${srcdir}/fstream_test.c'; fi`
    524545
    525546ID: $(am__tagged_files)
     
    635656        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
    636657        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
    637         -rm -f avltree/$(DEPDIR)/$(am__dirstamp)
    638         -rm -f avltree/$(am__dirstamp)
     658        -rm -f ${srcdir}/$(DEPDIR)/$(am__dirstamp)
     659        -rm -f ${srcdir}/$(am__dirstamp)
     660        -rm -f ${srcdir}/avltree/$(DEPDIR)/$(am__dirstamp)
     661        -rm -f ${srcdir}/avltree/$(am__dirstamp)
    639662
    640663maintainer-clean-generic:
     
    646669
    647670distclean: distclean-am
    648         -rm -rf ./$(DEPDIR) avltree/$(DEPDIR)
     671        -rm -rf ${srcdir}/$(DEPDIR) ${srcdir}/avltree/$(DEPDIR)
    649672        -rm -f Makefile
    650673distclean-am: clean-am distclean-compile distclean-generic \
     
    692715
    693716maintainer-clean: maintainer-clean-am
    694         -rm -rf ./$(DEPDIR) avltree/$(DEPDIR)
     717        -rm -rf ${srcdir}/$(DEPDIR) ${srcdir}/avltree/$(DEPDIR)
    695718        -rm -f Makefile
    696719maintainer-clean-am: distclean-am maintainer-clean-generic
     
    731754
    732755all-local :
    733         @+python test.py --debug=${debug} ${concurrent} ${quick_test}
     756        @+${TEST_PY} --debug=${debug} ${concurrent} ${quick_test}
    734757
    735758all-tests :
    736         @+python test.py --all --debug=${debug} ${concurrent}           # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
     759        @+${TEST_PY} --all --debug=${debug} ${concurrent}               # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
    737760
    738761clean-local :
     
    740763
    741764list :
    742         @+python test.py --list ${concurrent}
     765        @+${TEST_PY} --list ${concurrent}
    743766
    744767concurrency :
    745         @+python test.py --debug=${debug} -Iconcurrent
     768        @+${TEST_PY} --debug=${debug} -Iconcurrent
    746769
    747770.dummy : .dummy.c @CFA_BINDIR@/@CFA_NAME@
    748771        ${CC} ${BUILD_FLAGS} -XCFA -n ${<} -o ${@}                              #don't use CFLAGS, this rule is not a real test
    749772
    750 % : %.c @CFA_BINDIR@/@CFA_NAME@
    751         ${CC} ${AM_CFLAGS} ${CFLAGS} ${<} -o ${@}
     773% : ${srcdir}/%.c @CFA_BINDIR@/@CFA_NAME@
     774        ${CC} ${AM_CFLAGS} ${CFLAGS} $(abspath ${<}) -o ${@}
    752775
    753776declarationSpecifier: declarationSpecifier.c @CFA_BINDIR@/@CFA_NAME@
    754         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     777        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    755778
    756779gccExtensions : gccExtensions.c @CFA_BINDIR@/@CFA_NAME@
    757         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     780        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    758781
    759782extension : extension.c @CFA_BINDIR@/@CFA_NAME@
    760         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     783        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    761784
    762785attributes : attributes.c @CFA_BINDIR@/@CFA_NAME@
    763         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     786        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    764787
    765788functions: functions.c @CFA_BINDIR@/@CFA_NAME@
    766         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     789        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    767790
    768791KRfunctions : KRfunctions.c @CFA_BINDIR@/@CFA_NAME@
    769         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     792        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    770793
    771794sched-ext-parse : sched-ext-parse.c @CFA_BINDIR@/@CFA_NAME@
    772         ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@}
     795        ${CC} ${AM_CFLAGS} ${CFLAGS} -CFA -XCFA -p $(abspath ${<}) -o ${@}
    773796
    774797gmp : gmp.c @CFA_BINDIR@/@CFA_NAME@
    775         ${CC} ${AM_CFLAGS} ${CFLAGS} -lgmp ${<} -o ${@}
     798        ${CC} ${AM_CFLAGS} ${CFLAGS} -lgmp $(abspath ${<}) -o ${@}
    776799
    777800completeTypeError : completeTypeError.c @CFA_BINDIR@/@CFA_NAME@
    778         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     801        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    779802
    780803typedefRedef-ERR1: typedefRedef.c @CFA_BINDIR@/@CFA_NAME@
    781         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     804        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    782805
    783806alloc-ERROR: alloc.c @CFA_BINDIR@/@CFA_NAME@
    784         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     807        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    785808
    786809fallthrough-ERROR: fallthrough.c @CFA_BINDIR@/@CFA_NAME@
    787         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     810        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    788811
    789812nested-types-ERR1: nested-types.c @CFA_BINDIR@/@CFA_NAME@
    790         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     813        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    791814
    792815nested-types-ERR2: nested-types.c @CFA_BINDIR@/@CFA_NAME@
    793         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 ${<} -o ${@}
     816        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 $(abspath ${<}) -o ${@}
    794817
    795818# Constructor/destructor tests
    796819raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
    797         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     820        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    798821
    799822raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@
    800         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 ${<} -o ${@}
     823        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR2 $(abspath ${<}) -o ${@}
    801824
    802825raii/memberCtors-ERR1: raii/memberCtors.c @CFA_BINDIR@/@CFA_NAME@
    803         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     826        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    804827
    805828raii/ctor-autogen-ERR1: raii/ctor-autogen.c @CFA_BINDIR@/@CFA_NAME@
    806         ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 ${<} -o ${@}
     829        ${CC} ${AM_CFLAGS} ${CFLAGS} -DERR1 $(abspath ${<}) -o ${@}
    807830
    808831# Warnings
    809832warnings/self-assignment: warnings/self-assignment.c @CFA_BINDIR@/@CFA_NAME@
    810         ${CC} ${AM_CFLAGS} ${CFLAGS} ${<} 2> ${@} -fsyntax-only
     833        ${CC} ${AM_CFLAGS} ${CFLAGS} $(abspath ${<}) 2> ${@} -fsyntax-only
    811834
    812835#builtins
    813836builtins/sync: builtins/sync.c @CFA_BINDIR@/@CFA_NAME@
    814         ${CC} ${AM_CFLAGS} ${CFLAGS} ${<} 2> ${@} -fsyntax-only
     837        ${CC} ${AM_CFLAGS} ${CFLAGS} $(abspath ${<}) 2> ${@} -fsyntax-only
    815838
    816839# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • src/tests/pybin/settings.py

    r46782ab5 rf85bc15  
     1from __future__ import print_function
     2
     3import os
    14import sys
     5
     6try :
     7        sys.path.append(os.getcwd())
     8        from config import *
     9
     10        SRCDIR = os.path.abspath(SRCDIR)
     11        BUILDDIR = os.path.abspath(BUILDDIR)
     12except:
     13        print('ERROR: missing config.py, re-run configure script.', file=sys.stderr)
     14        sys.exit(1)
    215
    316class Architecture:
     
    6679        arch       = Architecture(options.arch)
    6780
     81
    6882def updateMakeCmd(force, jobs):
    6983        global make
  • src/tests/pybin/test_run.py

    r46782ab5 rf85bc15  
    3333
    3434        def expect(self):
    35                 return ("%s/.expect/%s%s.txt" % (self.path, self.name, '' if not self.arch else ".%s" % self.arch))
     35                return ("%s.expect/%s%s.txt" % (os.path.join(settings.SRCDIR, self.path), self.name, '' if not self.arch else ".%s" % self.arch))
    3636
    3737        def error_log(self):
    38                 return ("%s/.err/%s.log"    % (self.path, self.name))
     38                return ("%s.err/%s.log"    % (os.path.join(settings.BUILDDIR, self.path), self.name))
    3939
    4040        def output_log(self):
    41                 return ("%s/.out/%s.log"    % (self.path, self.name))
     41                return ("%s.out/%s.log"    % (os.path.join(settings.BUILDDIR, self.path), self.name))
    4242
    4343        def input(self):
    44                 return ("%s/.in/%s.txt"     % (self.path, self.name))
     44                return ("%s.in/%s.txt"     % (os.path.join(settings.SRCDIR, self.path), self.name))
    4545
    4646        def target_output(self):
     
    4949        def target(self):
    5050                return os.path.join(self.path, self.name)
     51
     52        def target_executable(self):
     53                return os.path.join(settings.BUILDDIR, self.path, self.name)
    5154
    5255        @classmethod
  • src/tests/pybin/tools.py

    r46782ab5 rf85bc15  
    99import stat
    1010import sys
     11import fileinput
    1112
    1213from pybin import settings
     
    3334                out, err = proc.communicate()
    3435                return proc.returncode, out
     36
     37def is_ascii(fname):
     38        if not os.path.isfile(fname):
     39                return False
     40
     41        code, out = sh("file %s" % fname, print2stdout = False)
     42        if code != 0:
     43                return False
     44
     45        match = re.search(".*: (.*)", out)
     46
     47        if not match:
     48                return False
     49
     50        return match.group(1) == "ASCII text"
    3551
    3652# Remove 1 or more files silently
     
    105121# helper function to replace patterns in a file
    106122def file_replace(fname, pat, s_after):
    107     # first, see if the pattern is even in the file.
    108     with open(fname) as f:
    109         if not any(re.search(pat, line) for line in f):
    110             return # pattern does not occur in file so we are done.
    111 
    112     # pattern is in the file, so perform replace operation.
    113     with open(fname) as f:
    114         out_fname = fname + ".tmp"
    115         out = open(out_fname, "w")
    116         for line in f:
    117             out.write(re.sub(pat, s_after, line))
    118         out.close()
    119         os.rename(out_fname, fname)
     123        file = fileinput.FileInput(fname, inplace=True, backup='.bak')
     124        for line in file:
     125                print(line.replace(pat, s_after), end='')
     126        file.close()
    120127
    121128# helper function to check if a files contains only a specific string
     
    140147# transform path to canonical form
    141148def canonicalPath(path):
    142         return os.path.join('.', os.path.normpath(path) )
     149        abspath = os.path.abspath(__main__.__file__)
     150        dname = os.path.dirname(abspath)
     151        return os.path.join(dname, os.path.normpath(path) )
    143152
    144153# compare path even if form is different
     
    151160                for name in names:
    152161                        path = os.path.join(dirname, name)
    153 
    154162                        op( path )
    155163
    156164        # Start the walk
    157         os.path.walk('.', step, '')
     165        abspath = os.path.abspath(__main__.__file__)
     166        dname = os.path.dirname(abspath)
     167        os.path.walk(dname, step, '')
    158168
    159169################################################################################
  • src/tests/test.py

    r46782ab5 rf85bc15  
    1919
    2020        def matchTest(path):
    21                 match = re.search("(\.[\w\/\-_]*)\/.expect\/([\w\-_]+)(\.[\w\-_]+)?\.txt", path)
     21                match = re.search("%s\/([\w\/\-_]*).expect\/([\w\-_]+)(\.[\w\-_]+)?\.txt" % settings.SRCDIR, path)
    2222                if match :
    2323                        test = Test()
     
    116116#               running test functions
    117117################################################################################
     118# fix the absolute paths in the output
     119def fixoutput( fname ):
     120        if not is_ascii(fname):
     121                return
     122
     123        file_replace(fname, "%s/" % settings.SRCDIR, "")
     124
     125
    118126# logic to run a single test and return the result (No handling of printing or other test framework logic)
    119127def run_single_test(test):
    120128
    121129        # find the output file based on the test name and options flag
     130        exe_file = test.target_executable();
    122131        out_file = test.target_output()
    123132        err_file = test.error_log()
     
    129138
    130139        # remove any outputs from the previous tests to prevent side effects
    131         rm( (out_file, err_file, test.target()) )
     140        rm( (out_file, err_file, exe_file) )
    132141
    133142        # build, skipping to next test on error
     
    146155        if make_ret == 0 or settings.dry_run:
    147156                before = time.time()
    148                 if settings.dry_run or fileIsExecutable(test.target()) :
     157                if settings.dry_run or fileIsExecutable(exe_file) :
    149158                        # run test
    150                         retcode, _ = sh("timeout 60 %s > %s 2>&1" % (test.target(), out_file), input = in_file)
     159                        retcode, _ = sh("timeout 60 %s > %s 2>&1" % (exe_file, out_file), input = in_file)
    151160                else :
    152161                        # simply cat the result into the output
    153                         retcode, _ = sh("cat %s > %s" % (test.target(), out_file))
     162                        retcode, _ = sh("cat %s > %s" % (exe_file, out_file))
    154163
    155164                after = time.time()
     
    170179                else :
    171180                        # fetch return code and error from the diff command
     181                        fixoutput(out_file)
    172182                        retcode, error = diff(cmp_file, out_file)
    173183
     
    241251################################################################################
    242252if __name__ == "__main__":
    243         #always run from same folder
    244         chdir()
    245253
    246254        # parse the command line arguments
Note: See TracChangeset for help on using the changeset viewer.