Enable emu and rt tests for nanos6 and ovni
This commit is contained in:
parent
4e2164646c
commit
e674c92f13
@ -7,9 +7,16 @@ add_library(parson STATIC parson.c)
|
||||
target_include_directories(parson PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
set_property(TARGET parson PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
add_library(common STATIC common.c)
|
||||
target_include_directories(common PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
set_property(TARGET common PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
|
||||
add_library(parson-static STATIC parson.c)
|
||||
target_include_directories(parson-static PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
add_library(common-static STATIC common.c)
|
||||
target_include_directories(common-static PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
||||
|
||||
configure_file("config.h.in" "${CMAKE_CURRENT_BINARY_DIR}/config.h" )
|
||||
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
|
@ -4,14 +4,14 @@
|
||||
include_directories("${CMAKE_SOURCE_DIR}/src/include")
|
||||
|
||||
add_library(ovni SHARED ovni.c)
|
||||
target_link_libraries(ovni parson)
|
||||
target_link_libraries(ovni parson common)
|
||||
target_include_directories(ovni PUBLIC "${CMAKE_SOURCE_DIR}/include")
|
||||
set_target_properties(ovni PROPERTIES
|
||||
VERSION 1.0.0
|
||||
SOVERSION 1)
|
||||
|
||||
add_library(ovni-static STATIC ovni.c)
|
||||
target_link_libraries(ovni-static parson-static)
|
||||
target_link_libraries(ovni-static parson-static common-static)
|
||||
target_include_directories(ovni-static PUBLIC "${CMAKE_SOURCE_DIR}/include")
|
||||
|
||||
install(TARGETS ovni LIBRARY DESTINATION lib)
|
||||
|
@ -7,5 +7,5 @@ set(OVNI_TEST_BUILD_DIR "${CMAKE_BINARY_DIR}/test")
|
||||
include(macros.cmake)
|
||||
|
||||
add_subdirectory(unit)
|
||||
#add_subdirectory(emu)
|
||||
#add_subdirectory(rt)
|
||||
add_subdirectory(emu)
|
||||
add_subdirectory(rt)
|
||||
|
@ -2,5 +2,5 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
add_subdirectory(ovni)
|
||||
add_subdirectory(nosv)
|
||||
#add_subdirectory(nosv)
|
||||
add_subdirectory(nanos6)
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
ovni_test(nested-tasks.c)
|
||||
ovni_test(nested-tasks-bad.c SHOULD_FAIL
|
||||
REGEX "fatal: cannot execute task 1: state is not created")
|
||||
REGEX "cannot execute task 1: state is not created")
|
||||
ovni_test(task-types.c MP)
|
||||
ovni_test(blocking.c MP)
|
||||
ovni_test(ss-mismatch.c SHOULD_FAIL
|
||||
|
@ -35,7 +35,7 @@ static void
|
||||
emit(uint8_t *buf, size_t size)
|
||||
{
|
||||
struct ovni_ev ev = {0};
|
||||
ovni_ev_set_mcv(&ev, "O$$");
|
||||
ovni_ev_set_mcv(&ev, "OB.");
|
||||
ovni_ev_set_clock(&ev, ovni_clock_now());
|
||||
ovni_ev_jumbo_emit(&ev, buf, size);
|
||||
}
|
||||
|
@ -2,7 +2,7 @@
|
||||
# Copyright (c) 2021 Barcelona Supercomputing Center (BSC)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
set -e
|
||||
set -ex
|
||||
|
||||
if [ -n "$OVNI_TEST_VERBOSE" ]; then
|
||||
set -x
|
||||
|
@ -2,5 +2,5 @@
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
add_subdirectory(nanos6)
|
||||
add_subdirectory(nodes)
|
||||
add_subdirectory(nosv)
|
||||
#add_subdirectory(nodes)
|
||||
#add_subdirectory(nosv)
|
||||
|
Loading…
Reference in New Issue
Block a user