Skip to content

Commit

Permalink
Run test_extension_ci with strace
Browse files Browse the repository at this point in the history
Signed-off-by: Bob Weinand <[email protected]>
  • Loading branch information
bwoebi committed Aug 23, 2024
1 parent 50607af commit 428adc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ test_extension_ci: $(SO_FILE) $(TEST_FILES) $(TEST_STUB_FILES) $(BUILD_DIR)/run-
export DD_TRACE_CLI_ENABLED=1; \
export TEST_PHP_JUNIT=$(JUNIT_RESULTS_DIR)/normal-extension-test.xml; \
export DD_TRACE_GIT_METADATA_ENABLED=0; \
$(RUN_TESTS_CMD) -d extension=$(SO_FILE) $(BUILD_DIR)/$(TESTS); \
pkill -9 -f [d]atadog-ipc-helper; \
strace -f -s 200 bash -c "$(RUN_TESTS_CMD) -d extension=$(SO_FILE) $(BUILD_DIR)/$(TESTS) 2>&3" 3>&2 2>$(BUILD_DIR)/tests/ext/run.strace; \
\
export TEST_PHP_JUNIT=$(JUNIT_RESULTS_DIR)/valgrind-extension-test.xml; \
export TEST_PHP_OUTPUT=$(JUNIT_RESULTS_DIR)/valgrind-run-tests.out; \
Expand Down

0 comments on commit 428adc0

Please sign in to comment.