Skip to content

Commit

Permalink
#1920: CI: NOMERGE: make it always succeed; add prints
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Sep 26, 2022
1 parent 4235113 commit bd58114
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/test_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pushd "$VT_BUILD"

# Don't run performance tests here (use label 'unit_test' or 'example')
# ctest --output-on-failure -L 'unit_test|example' | tee cmake-output.log
ctest --output-on-failure -R hello_world_2
ctest --output-on-failure -R hello_world_2 || true

if test "${CODE_COVERAGE:-0}" -eq 1
then
Expand Down
5 changes: 5 additions & 0 deletions src/vt/runnable/make_runnable.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#if !defined INCLUDED_VT_RUNNABLE_MAKE_RUNNABLE_H
#define INCLUDED_VT_RUNNABLE_MAKE_RUNNABLE_H

#include "vt/config.h"
#include "vt/runnable/runnable.h"
#include "vt/context/runnable_context/td.h"
#include "vt/context/runnable_context/trace.h"
Expand Down Expand Up @@ -314,7 +315,9 @@ template <typename U>
RunnableMaker<U> makeRunnable(
MsgSharedPtr<U> const& msg, bool is_threaded, HandlerType handler, NodeType from
) {
vt_debug_print(terse, gen, "makeRunnable 1\n");
auto r = new RunnableNew(msg, is_threaded);
vt_debug_print(terse, gen, "makeRunnable 2\n");
#if vt_check_enabled(trace_enabled)
auto const han_type = HandlerManager::getHandlerRegistryType(handler);
if (han_type == auto_registry::RegistryTypeEnum::RegVrt or
Expand All @@ -323,7 +326,9 @@ RunnableMaker<U> makeRunnable(
r->addContextTrace(msg, handler, from);
}
#endif
vt_debug_print(terse, gen, "makeRunnable 3\n");
r->addContextSetContext(r, from);
vt_debug_print(terse, gen, "makeRunnable 4\n");
return RunnableMaker<U>{r, msg, handler, from};
}

Expand Down

0 comments on commit bd58114

Please sign in to comment.