xinyangli
3d64dbd200
All checks were successful
Build abstract machine with nix / build-packages (abstract-machine) (push) Successful in 16s
Build abstract machine with nix / build-packages (nemu) (push) Successful in 7s
Build abstract machine with nix / build-packages (nemu-lib) (push) Successful in 7s
Build abstract machine with nix / build-packages (rv32Cross.abstract-machine) (push) Successful in 11s
Build npc tests / npc-build (flow) (push) Successful in 8s
Build npc tests / npc-build (flow-simlib) (push) Successful in 9s
- TODO: don't no why libm is needed, need further investigation.
11 lines
371 B
CMake
11 lines
371 B
CMake
set(TEST_SOURCES stdio string)
|
|
|
|
foreach(TEST IN LISTS TEST_SOURCES)
|
|
# TODO: Run tests in other configurations
|
|
if(__PLATFORM_NATIVE__)
|
|
add_executable(${TEST} ${TEST}.c)
|
|
target_link_libraries(${TEST} PRIVATE am_interface klib_interface klib)
|
|
target_link_libraries(${TEST} PRIVATE am-native)
|
|
add_test(NAME ${TEST} COMMAND ${TEST})
|
|
endif()
|
|
endforeach()
|