Changeset 667d33 in git for omalloc


Ignore:
Timestamp:
Jan 6, 2014, 5:18:21 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
b1b9e1f448aca273a22cb770fd8bde277e3e8a1d
Parents:
17fe09de3facd16159d0da4c0fb5bd476fb4180d
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-01-06 17:18:21+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-01-06 17:19:39+01:00
Message:
Only test once (no more dynamic AND static tests)

chg: also BS cleanup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • omalloc/Makefile.am

    r17fe09 r667d33  
    11ACLOCAL_AMFLAGS = -I ../m4
    22
    3 
    43lib_LTLIBRARIES=libomalloc.la
    5 # libomalloc_g.la
    6 
    7 #if WANT_DEBUG
    8 ## lib_LTLIBRARIES+=
    9 #endif
    104
    115libomalloc_includedir=$(includedir)/omalloc
     
    3630
    3731libomalloc_la_SOURCES=$(SOURCES) $(noinst_HEADERS)
    38 # libomalloc_g_la_SOURCES=$(SOURCES) $(noinst_HEADERS)
    39 
    4032
    4133# libomalloc_la_LDFLAGS    = -release ${PACKAGE_VERSION}
     
    4335
    4436nodist_libomalloc_la_SOURCES = omTables.inc omTables.h mylimits.h
    45 # nodist_libomalloc_g_la_SOURCES = omTables.inc omTables.h mylimits.h
    46 
    4737nodist_libomalloc_include_HEADERS = omConfig.h mylimits.h omTables.h
    4838
     
    5141
    5242libomalloc_la_CPPFLAGS  = ${AM_CPPFLAGS} -DOM_ALLOC_INTERNAL
    53 # libomalloc_g_la_CPPFLAGS= ${AM_CPPFLAGS} -DOM_ALLOC_INTERNAL -DHAVE_CONFIG_H
    5443
    5544BUILT_SOURCES = omTables.inc omTables.h
     
    7059####################################################
    7160## Test program
    72 ##
    73 # AM_LDFLAGS = -L${top_builddir}/omalloc -L${top_builddir}/../omalloc
    7461
    75 TESTS = omtTest-s-m omtTest-d-m
    76 # omtTest-d-g  omtTest-s-g
    77 
    78 #if WANT_DEBUG
    79 ## TESTS+=
    80 #endif
     62TESTS = omtTest-m omtTest-r
    8163
    8264check_PROGRAMS = $(TESTS)
    8365
    84 
    85 EXTRA_PROGRAMS = omtTest-s-r omtTest-d-r
    86 #### tests fail: omtTest-s-r omtTest-d-r due to 
    87 # !!!expect omError_UnalignedAddr
    88 # ***omError_UnalignedAddr: addr is unaligned
    89 #  occured at:  ../../omalloc/omtTestError.c:260
    90 #   occured for (invalid) addr: 0x7fc5c3602811 (error=14)
    91 # +++ok  omError_UnalignedAddr
    92 #
    93 # !!!expect omError_NullSizeAlloc
    94 # 2669 Segmentation fault
     66# EXTRA_PROGRAMS = omtTest-r
    9567
    9668OMTTESTSSOURCES = omtTestReal.c omtTestDebug.c omtTestKeep.c omtTestError.c omtTest.c
    9769
    98 # omtTest_s_g_SOURCES  = $(OMTTESTSSOURCES)
    99 # # omtTest_s_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
    100 # # omtTest_s_g_CFLAGS  = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE}
    101 # omtTest_s_g_LDADD    = libomalloc.la
    102 # omtTest_s_g_LDFLAGS  = -L${builddir} -static
     70omtTest_m_CPPFLAGS = ${AM_CPPFLAGS} -DOM_TEST_MALLOC
     71omtTest_m_SOURCES  = $(OMTTESTSSOURCES)
     72omtTest_m_LDADD    = libomalloc.la
    10373
    104 omtTest_s_m_CPPFLAGS = ${AM_CPPFLAGS} -DOM_TEST_MALLOC
    105 omtTest_s_m_SOURCES  = $(OMTTESTSSOURCES)
    106 omtTest_s_m_LDADD    = libomalloc.la
    107 omtTest_s_m_LDFLAGS  = -L${builddir} -static
     74omtTest_r_SOURCES  = $(OMTTESTSSOURCES)
     75omtTest_r_LDADD    = libomalloc.la
    10876
    109 omtTest_s_r_SOURCES  = $(OMTTESTSSOURCES)
    110 omtTest_s_r_CPPFLAGS = ${AM_CPPFLAGS}
    111 # omtTest_s_r_CFLAGS  = -O3 ${PIPE}
    112 omtTest_s_r_LDADD    = libomalloc.la
    113 omtTest_s_r_LDFLAGS  = -L${builddir} -static
    114 
    115 
    116 
    117 # omtTest_d_g_SOURCES  = $(OMTTESTSSOURCES)
    118 # # omtTest_d_g_CPPFLAGS = ${AM_CPPFLAGS} -DHAVE_CONFIG_H
    119 # # omtTest_d_g_CFLAGS  = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE}
    120 # omtTest_d_g_LDADD    = libomalloc.la
    121 # omtTest_d_g_LDFLAGS  = -L${builddir}
    122 
    123 omtTest_d_m_CPPFLAGS = ${AM_CPPFLAGS} -DOM_TEST_MALLOC
    124 omtTest_d_m_SOURCES  = $(OMTTESTSSOURCES)
    125 omtTest_d_m_LDADD    = libomalloc.la
    126 omtTest_d_m_LDFLAGS  = -L${builddir}
    127 
    128 omtTest_d_r_SOURCES  = $(OMTTESTSSOURCES)
    129 omtTest_d_r_CPPFLAGS = ${AM_CPPFLAGS} -DOM_NDEBUG
    130 # omtTest_d_r_CFLAGS  = -O3 ${PIPE}
    131 omtTest_d_r_LDADD    = libomalloc.la
    132 omtTest_d_r_LDFLAGS  = -L${builddir}
Note: See TracChangeset for help on using the changeset viewer.