aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reltool/test/reltool_server_SUITE_data
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2013-02-14 18:25:49 +0100
committerSiri Hansen <[email protected]>2013-02-21 11:03:36 +0100
commitc98fffd0d490cde6910c64acdba308b4224cc735 (patch)
tree78e511e0f5ab30e6eac13658e12aea6b353387c3 /lib/reltool/test/reltool_server_SUITE_data
parent0a572151a47dce3b5ae334c2f5a7eccf0530885e (diff)
downloadotp-c98fffd0d490cde6910c64acdba308b4224cc735.tar.gz
otp-c98fffd0d490cde6910c64acdba308b4224cc735.tar.bz2
otp-c98fffd0d490cde6910c64acdba308b4224cc735.zip
[reltool] Make escript test work with hipe and smp
reltool_server_SUITE:create_standalone and create_multiple_standalone failed on test hosts running hipe and smp. The reason was that the escript used in these tests explicitly disabled smp, which in turn made the emulator spit out warnings like this: "<HiPE (v 3.10)> Warning: not loading native code for module beam_lib: it was compiled for an incompatible runtime system; please regenerate native code for this runtime system" This was returned from the escript and did not match the expected result. To overcome this, the escript (reltool/examples/display_args) is changed and does no longer disable smp.
Diffstat (limited to 'lib/reltool/test/reltool_server_SUITE_data')
-rw-r--r--lib/reltool/test/reltool_server_SUITE_data/escript/someapp-1.0/src/mymod.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/reltool/test/reltool_server_SUITE_data/escript/someapp-1.0/src/mymod.erl b/lib/reltool/test/reltool_server_SUITE_data/escript/someapp-1.0/src/mymod.erl
index b6c71c666d..c315f926d3 100644
--- a/lib/reltool/test/reltool_server_SUITE_data/escript/someapp-1.0/src/mymod.erl
+++ b/lib/reltool/test/reltool_server_SUITE_data/escript/someapp-1.0/src/mymod.erl
@@ -22,5 +22,6 @@
%%%-----------------------------------------------------------------
%%% escript main function
main(Args) ->
+ io:format("Module: ~w\n", [?MODULE]),
io:format("Root dir: ~s\n", [code:root_dir()]),
io:format("Script args: ~p\n", [Args]).