diff options
author | Loïc Hoguin <[email protected]> | 2019-06-24 18:29:44 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-06-24 18:29:44 +0200 |
commit | 0584ecaa55a4fe77c9768a5718ae69ec44d1f999 (patch) | |
tree | 92ce23e8968d1317ac8c99205823f1a89ac075eb /test/core_deps.mk | |
parent | 87cba237455ca87324037c6c92495ec6a8c6a3f9 (diff) | |
download | erlang.mk-0584ecaa55a4fe77c9768a5718ae69ec44d1f999.tar.gz erlang.mk-0584ecaa55a4fe77c9768a5718ae69ec44d1f999.tar.bz2 erlang.mk-0584ecaa55a4fe77c9768a5718ae69ec44d1f999.zip |
Fix the force_rebuilding_dep test
Diffstat (limited to 'test/core_deps.mk')
-rw-r--r-- | test/core_deps.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core_deps.mk b/test/core_deps.mk index fd322fe..2736bc3 100644 --- a/test/core_deps.mk +++ b/test/core_deps.mk @@ -194,7 +194,7 @@ core-deps-dep-built-force-full: init $i "Check that cowlib is not rebuilt if \`force_rebuilding_dep\` returns false" $t touch $(APP)/EXPECT $t $(SLEEP) - $t $(MAKE) -C $(APP) force_rebuilding_dep='test $$(1) != $(APP)/deps/cowlib' $v + $t $(MAKE) -C $(APP) force_rebuilding_dep='test $$(1) != $(CURDIR)/$(APP)/deps/cowlib' $v $t find $(APP)/deps/cowlib -type f -newer $(APP)/EXPECT | sort | diff $(APP)/EXPECT - $t rm $(APP)/EXPECT @@ -205,7 +205,7 @@ core-deps-dep-built-force-full: init $(APP)/deps/cowlib/ebin/cow_http.beam \ $(APP)/deps/cowlib/ebin/dep_built | sort > $(APP)/EXPECT $t $(SLEEP) - $t $(MAKE) -C $(APP) force_rebuilding_dep='test $$(1) = $(APP)/deps/cowlib' $v + $t $(MAKE) -C $(APP) force_rebuilding_dep='test $$(1) = $(CURDIR)/$(APP)/deps/cowlib' $v # Files in .git might end up modified due to the id generation in the .app file. $t find $(APP)/deps/cowlib -type f -newer $(APP)/EXPECT | grep -v ".git" | sort | diff $(APP)/EXPECT - $t rm $(APP)/EXPECT |