diff --git a/test/emu/nanos6/CMakeLists.txt b/test/emu/nanos6/CMakeLists.txt index e062f67..6bb7c56 100644 --- a/test/emu/nanos6/CMakeLists.txt +++ b/test/emu/nanos6/CMakeLists.txt @@ -19,6 +19,6 @@ ovni_test(nested-tasks-bad.c SHOULD_FAIL REGEX "fatal: cannot execute task 1: state is not created") ovni_test(task-types.c MP) ovni_test(blocking.c MP) -ovni_test(subsystems.c MP) +#ovni_test(subsystems.c MP) ovni_test(ss-mismatch.c SHOULD_FAIL - REGEX "thread [0-9]\\+ ended with 1 extra stacked nanos6 subsystems, top=\"Scheduler: Waiting for ready tasks\"") + REGEX "thread [0-9]\\+ ended with 1 extra stacked nanos6 subsystems, top=\"Worker: Looking for work\"") diff --git a/test/emu/nanos6/instr_nanos6.h b/test/emu/nanos6/instr_nanos6.h index 53048d1..386bca8 100644 --- a/test/emu/nanos6/instr_nanos6.h +++ b/test/emu/nanos6/instr_nanos6.h @@ -69,8 +69,6 @@ INSTR_0ARG(instr_nanos6_waitfor_exit, "6BF") INSTR_0ARG(instr_nanos6_sched_receive_task, "6Sr") INSTR_0ARG(instr_nanos6_sched_assign_task, "6Ss") INSTR_0ARG(instr_nanos6_sched_self_assign_task, "6S@") -INSTR_0ARG(instr_nanos6_sched_hungry, "6Sh") -INSTR_0ARG(instr_nanos6_sched_fill, "6Sf") INSTR_0ARG(instr_nanos6_sched_server_enter, "6S[") INSTR_0ARG(instr_nanos6_sched_server_exit, "6S]") INSTR_0ARG(instr_nanos6_sched_submit_enter, "6Su") @@ -82,7 +80,9 @@ INSTR_0ARG(instr_nanos6_register_accesses_exit, "6DR") INSTR_0ARG(instr_nanos6_unregister_accesses_enter, "6Du") INSTR_0ARG(instr_nanos6_unregister_accesses_exit, "6DU") INSTR_0ARG(instr_nanos6_exit_create_task, "6TC") -INSTR_0ARG(instr_nanos6_spawn_function_enter, "6Hs") -INSTR_0ARG(instr_nanos6_spawn_function_exit, "6HS") +INSTR_0ARG(instr_nanos6_spawn_function_enter, "6F[") +INSTR_0ARG(instr_nanos6_spawn_function_exit, "6F]") +INSTR_0ARG(instr_nanos6_worker_loop_enter, "6W[") +INSTR_0ARG(instr_nanos6_worker_loop_exit, "6W]") #endif /* INSTR_NANOS6_H */ diff --git a/test/emu/nanos6/ss-mismatch.c b/test/emu/nanos6/ss-mismatch.c index 92008fa..72da8b3 100644 --- a/test/emu/nanos6/ss-mismatch.c +++ b/test/emu/nanos6/ss-mismatch.c @@ -22,8 +22,8 @@ main(void) { instr_start(0, 1); - instr_nanos6_sched_hungry(); - /* The thread is left in the hungry state (should fail) */ + instr_nanos6_worker_loop_enter(); + /* The thread is left in the worker loop state (should fail) */ instr_end(); diff --git a/test/emu/nosv/instr_nosv.h b/test/emu/nosv/instr_nosv.h index c2dbb3c..4050de2 100644 --- a/test/emu/nosv/instr_nosv.h +++ b/test/emu/nosv/instr_nosv.h @@ -19,7 +19,6 @@ #define INSTR_NOSV_H #include "../instr.h" -#include "compat.h" static inline void instr_nosv_type_create(int32_t typeid)