diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/core_deps.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/core_deps.mk b/test/core_deps.mk index 8facf4d..e35546c 100644 --- a/test/core_deps.mk +++ b/test/core_deps.mk @@ -194,6 +194,10 @@ core-deps-dep-built-ln: init $i "Build the application" $t $(MAKE) -C $(APP) $v +# On MSYS2 "ln" will by default not create symbolic links because +# it requires an option to be enabled and administrative privileges. +# The "rebuild" part of the test is therefore skipped on Windows. +ifneq ($(PLATFORM),msys2) $i "Touch one cowlib file to mark it for recompilation" $t $(SLEEP) $t touch $(APP)/deps/cowlib/src/cow_http.erl @@ -203,11 +207,13 @@ core-deps-dep-built-ln: init $(APP)/cowlib/cowlib.d \ $(APP)/cowlib/ebin/cowlib.app \ $(APP)/cowlib/ebin/cow_http.beam | sort > $(APP)/EXPECT + $t $(SLEEP) $t $(MAKE) -C $(APP) $v # Files in .git might end up modified due to the id generation in the .app file. $t find $(APP)/cowlib -type f -newer $(APP)/EXPECT | grep -v ".git" | sort | diff $(APP)/EXPECT - $t rm $(APP)/EXPECT +endif core-deps-dep-commit: init |