Changeset 4782b39


Ignore:
Timestamp:
Dec 14, 2016, 11:04:22 AM (8 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, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
74e5a3aa
Parents:
cc640aad
Message:

Fixed tests flags for 32-bit

Location:
src/tests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/tests/Makefile.am

    rcc640aad r4782b39  
    1818
    1919# applies to both programs
    20 CFLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ # TEMPORARY: does not build with -O2
     20EXTRA_FLAGS =
     21CFLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ ${EXTRA_FLAGS}
    2122CC = @CFA_BINDIR@/cfa
    2223
  • src/tests/Makefile.in

    rcc640aad r4782b39  
    123123CFA_LIBDIR = @CFA_LIBDIR@
    124124CFA_PREFIX = @CFA_PREFIX@
    125 
    126 # applies to both programs
    127 CFLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ # TEMPORARY: does not build with -O2
     125CFLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ ${EXTRA_FLAGS}
    128126CPP = @CPP@
    129127CPPFLAGS = @CPPFLAGS@
     
    224222top_srcdir = @top_srcdir@
    225223debug = yes
     224
     225# applies to both programs
     226EXTRA_FLAGS =
    226227fstream_test_SOURCES = fstream_test.c
    227228vector_test_SOURCES = vector/vector_int.c vector/array.c vector/vector_test.c
  • src/tests/test.py

    rcc640aad r4782b39  
    116116
    117117        # build, skipping to next test on error
    118         make_ret, _ = sh("""%s CFLAGS="-quiet %s" %s 2> %s 1> /dev/null""" % (make_cmd, options, test.name, out_file), dry_run)
     118        make_ret, _ = sh("""%s EXTRA_FLAGS="-quiet %s" %s 2> %s 1> /dev/null""" % (make_cmd, options, test.name, out_file), dry_run)
    119119
    120120        # if the make command succeds continue otherwise skip to diff
Note: See TracChangeset for help on using the changeset viewer.