Changeset 3668


Ignore:
Timestamp:
Mar 9, 2014, 1:55:13 AM (4 years ago)
Author:
ksherdy
Message:

Added tests for the BitStreamScanner?

Location:
trunk/libtest
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtest/Makefile

    r1920 r3668  
    66ARCH=$(shell getconf LONG_BIT)
    77ifeq ($(ARCH),32)
    8     AFLAGS=-march=pentium4
     8    AFLAGS=-march=pentium4 -std=gnu++0x
    99    CODE_CLOCKER=-DCODE_CLOCKER -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
    1010else
    11     AFLAGS=-march=nocona -m64
     11    AFLAGS=-march=nocona -m64 -std=gnu++0x
    1212    CODE_CLOCKER=-DCODE_CLOCKER -I$(PAPI_DIR)/include -L$(PAPI_DIR)/lib -lpapi
    1313endif
    1414
    15 # quick and dirty test gen - refactor as template metaprogramming
     15# quick and dirty regression tests
     16bitblock_iterator_test: bitblock_iterator_test.cpp
     17        $(CC) -o bitblock_iterator_test bitblock_iterator_test.cpp $(AFLAGS)
     18        ./bitblock_iterator_test
     19
     20# quick and dirty test gen - refactor test structure to bitblock_iterator_test style
    1621byte_compare_gen: byte_compare_generator.cpp ../lib/byte_compare.hpp   
    1722        $(CC) -o byte_compare_generator byte_compare_generator.cpp $(AFLAGS)
    1823
    19 # quick and dirty tests - refactor as BOOST regression tests
     24# quick and dirty tests - refactor test structure to bitblock_iterator_test style
    2025byte_compare_test:      byte_compare_test.cpp ../lib/byte_compare.hpp
    2126        $(CC) -o byte_compare_test byte_compare_test.cpp $(AFLAGS)
    2227
    23 # quick and dirty tests - refactor as BOOST regression tests
     28# quick and dirty tests - refactor test structure to bitblock_iterator_test style
    2429hash_test:      hash_test.cpp ../lib/hash.hpp
    2530        $(CC) -o hash_test hash_test.cpp $(AFLAGS)
    2631
    2732clean:
    28         rm -f byte_compare_generator byte_compare_test byte_compare_test.cpp hash_test
     33        rm -f bitblock_iterator_test byte_compare_generator byte_compare_test byte_compare_test.cpp hash_test
Note: See TracChangeset for help on using the changeset viewer.