Changeset 4042


Ignore:
Timestamp:
Aug 18, 2014, 4:44:20 PM (5 years ago)
Author:
linmengl
Message:

checkin u8u16 project, add cmake target and auto test.

Location:
trunk/lib_ir
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib_ir/CMakeLists.txt

    r3970 r4042  
    4747  )
    4848
     49add_executable(u8u16 u8u16/src/u8u16.cpp s2p_optimized.o)
     50
    4951add_custom_target(asm_s2p
    5052  COMMAND ${LLVM_LLC} -O3 ${LLVM_SSE_FLAGS} s2p_optimized.bc
     
    8890  NAME ctest_xmlwf
    8991  COMMAND python ${PROJECT_SOURCE_DIR}/xmlwf/run_all.py)
     92add_test(
     93  NAME ctest_u8u16
     94  WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/../../proto/u8u16/QA
     95  COMMAND ${PROJECT_SOURCE_DIR}/u8u16/run_all ${CMAKE_BINARY_DIR}/u8u16)
    9096
    9197add_custom_target (check
    9298  COMMAND ${CMAKE_CTEST_COMMAND}
    93   DEPENDS test_s2p test_link test_pack test_llc xmlwf)
     99  DEPENDS test_s2p test_link test_pack test_llc xmlwf u8u16)
    94100
    95101# `make check` also depends on test_pack_avx2
  • trunk/lib_ir/README.md

    r3970 r4042  
    1818===================
    1919Run `make check` to execute self-check process.
     20+ xmlwf tests driver is "xmlwf/run_all.py". It requires "../../../trunk/QA/" folder.
     21  ".." starts from where the `run_all.py` locates.
     22+ u8u16 tests driver is "u8u16/run_all". It requires to clone "http://u8u16.costar.sfu.ca/browser/QA" into
     23  "${PROJECT_SOURCE_DIR}/../../proto/u8u16/QA"
    2024
    2125Perf xmlwf
Note: See TracChangeset for help on using the changeset viewer.