aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_apps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-26 09:13:41 +0100
committerLoïc Hoguin <[email protected]>2018-11-26 09:13:41 +0100
commit274d1d4c476cde8332ddfb6a4ab63ef4b861a750 (patch)
treed5e9aacb26cff215110e859d744264191bb52f2b /test/core_apps.mk
parent823e6a3b7c83e173766d1d0d86353388543d6b17 (diff)
downloaderlang.mk-274d1d4c476cde8332ddfb6a4ab63ef4b861a750.tar.gz
erlang.mk-274d1d4c476cde8332ddfb6a4ab63ef4b861a750.tar.bz2
erlang.mk-274d1d4c476cde8332ddfb6a4ab63ef4b861a750.zip
Tweak a few tests so they run on all platforms
Diffstat (limited to 'test/core_apps.mk')
-rw-r--r--test/core_apps.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/core_apps.mk b/test/core_apps.mk
index 3aac6cf..14cbb37 100644
--- a/test/core_apps.mk
+++ b/test/core_apps.mk
@@ -479,11 +479,11 @@ core-apps-local-deps: build clean
$i "Test after swapping my_app_1 and my_app_2 to make sure lexical ordering didnt incidentally build the correct app first"
$i "Add my_app_2 to the list of local dependencies of my_app_1, don't add lager, but add the lager parse_transform (this will fail unless my_app_2 was indeed built first)"
- $t mv $(APP)/apps/my_app_1/Makefile{.bak,}
+ $t mv $(APP)/apps/my_app_1/Makefile.bak $(APP)/apps/my_app_1/Makefile
$t perl -ni.bak -e 'print;if ($$.==1) {print "LOCAL_DEPS = my_app_2\nERLC_OPTS+=+{parse_transform,lager_transform}\n"}' $(APP)/apps/my_app_1/Makefile
$i "Add Lager to the list of dependencies of my_app_2, and add the lager parse_transform"
- $t mv $(APP)/apps/my_app_2/Makefile{.bak,}
+ $t mv $(APP)/apps/my_app_2/Makefile.bak $(APP)/apps/my_app_2/Makefile
$t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = lager\nERLC_OPTS+=+{parse_transform,lager_transform}\n"}' $(APP)/apps/my_app_2/Makefile
$i "Build the application"