aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/guard_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-04-06 14:56:39 +0200
committerBjörn Gustavsson <[email protected]>2011-04-12 05:52:24 +0200
commit236b6e32118bfc064f88bebf9945080ed8ea9eb4 (patch)
tree4577c15d63098cc706fa0d4c218ceb171ecea07e /lib/compiler/test/guard_SUITE.erl
parent73b16ada48c683529febd1167fd5a30f83c872af (diff)
downloadotp-236b6e32118bfc064f88bebf9945080ed8ea9eb4.tar.gz
otp-236b6e32118bfc064f88bebf9945080ed8ea9eb4.tar.bz2
otp-236b6e32118bfc064f88bebf9945080ed8ea9eb4.zip
compiler tests: Reinstate ?MODULE macro in calls to test_lib:recompile/1
In 3d0f4a3085f11389e5b22d10f96f0cbf08c9337f (an update to conform with common_test), in all test_lib:recompile(?MODULE) calls, ?MODULE was changed to the actual name of the module. That would cause test_lib:recompile/1 to compile the module with the incorrect compiler options in cloned modules such as record_no_opt_SUITE, causing worse coverage.
Diffstat (limited to 'lib/compiler/test/guard_SUITE.erl')
-rw-r--r--lib/compiler/test/guard_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/test/guard_SUITE.erl b/lib/compiler/test/guard_SUITE.erl
index 482564a32b..0e69efba6b 100644
--- a/lib/compiler/test/guard_SUITE.erl
+++ b/lib/compiler/test/guard_SUITE.erl
@@ -37,7 +37,7 @@
suite() -> [{ct_hooks,[ts_install_cth]}].
all() ->
- test_lib:recompile(guard_SUITE),
+ test_lib:recompile(?MODULE),
[misc, const_cond, basic_not, complex_not, nested_nots,
semicolon, complex_semicolon, comma, or_guard,
more_or_guards, complex_or_guards, and_guard, xor_guard,