aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/compile_SUITE.erl
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2012-08-24 14:31:22 +0200
committerFredrik Gustafsson <[email protected]>2012-08-24 14:31:22 +0200
commitbe7dd864c1c3be162a6963b6d2bad4092c0682a9 (patch)
treeef942e47003345f3aa01640ddc6958c7baaa0cc2 /lib/compiler/test/compile_SUITE.erl
parent0342137176c653c51cc3a78781888cfca8568650 (diff)
parent6dc42270b83fef1f2f975d2dc2d9fce3433347c0 (diff)
downloadotp-be7dd864c1c3be162a6963b6d2bad4092c0682a9.tar.gz
otp-be7dd864c1c3be162a6963b6d2bad4092c0682a9.tar.bz2
otp-be7dd864c1c3be162a6963b6d2bad4092c0682a9.zip
Merge branch 'rc/fix-MP-compiler-flag/OTP-10211' into maint
Diffstat (limited to 'lib/compiler/test/compile_SUITE.erl')
-rw-r--r--lib/compiler/test/compile_SUITE.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/compiler/test/compile_SUITE.erl b/lib/compiler/test/compile_SUITE.erl
index da53a6ba9c..2cd75944f4 100644
--- a/lib/compiler/test/compile_SUITE.erl
+++ b/lib/compiler/test/compile_SUITE.erl
@@ -242,6 +242,12 @@ makedep(Config) when is_list(Config) ->
[makedep,{makedep_output,Target}|IncludeOptions]),
?line {ok,Mf6} = file:read_file(Target),
?line BasicMf2 = makedep_canonicalize_result(Mf6, DataDir),
+ %% Rule with creating phony target.
+ ?line PhonyMfName = SimpleRootname ++ "-phony.mk",
+ ?line {ok,PhonyMf} = file:read_file(PhonyMfName),
+ ?line {ok,_,Mf7} = compile:file(Simple,
+ [binary,makedep,makedep_phony|IncludeOptions]),
+ ?line PhonyMf = makedep_canonicalize_result(Mf7, DataDir),
?line ok = file:delete(Target),
?line ok = file:del_dir(filename:dirname(Target)),