diff options
author | Loïc Hoguin <[email protected]> | 2018-11-25 09:10:33 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-11-25 09:10:33 +0100 |
commit | a59058e20c7c703d7bb9f6bcd2ac471d4d950d03 (patch) | |
tree | 5535e3866f5bb0918351c0c8d9840c7cb51fd704 | |
parent | 7ed5a10b44a95c40ad55ee16d2893097e869f006 (diff) | |
download | erlang.mk-a59058e20c7c703d7bb9f6bcd2ac471d4d950d03.tar.gz erlang.mk-a59058e20c7c703d7bb9f6bcd2ac471d4d950d03.tar.bz2 erlang.mk-a59058e20c7c703d7bb9f6bcd2ac471d4d950d03.zip |
Fix a shell test when run in parallel
-rw-r--r-- | test/plugin_shell.mk | 5 |
1 files changed, 4 insertions, 1 deletions
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 |