From a59058e20c7c703d7bb9f6bcd2ac471d4d950d03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 25 Nov 2018 09:10:33 +0100 Subject: Fix a shell test when run in parallel --- test/plugin_shell.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/plugin_shell.mk b/test/plugin_shell.mk index dea4ca1..9821864 100644 --- a/test/plugin_shell.mk +++ b/test/plugin_shell.mk @@ -41,5 +41,8 @@ shell-test-dir: build clean $t printf "%s\n" \ "-module(foo)." > $(APP)/test/foo.erl + $i "Build the test files" + $t $(MAKE) -C $(APP) test-build $v + $i "Check that the module is visible" - $t $(MAKE) -C $(APP) test-build shell SHELL_OPTS="-eval 'foo:module_info()' -eval 'halt()'" $v + $t $(MAKE) -C $(APP) shell SHELL_OPTS="-eval 'foo:module_info()' -eval 'halt()'" $v -- cgit v1.2.3