aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/test/int_SUITE_data/Emakefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-04-17 08:03:09 +0200
committerBjörn Gustavsson <[email protected]>2016-04-18 07:39:17 +0200
commit7cc68fb4820f68e21867bb8f16172e8f72d04edc (patch)
tree0501b3e46cce1a0c358df78a7c2937d34cadc85f /lib/debugger/test/int_SUITE_data/Emakefile
parent04e79317308588af47f236469e9d286dccc177ec (diff)
downloadotp-7cc68fb4820f68e21867bb8f16172e8f72d04edc.tar.gz
otp-7cc68fb4820f68e21867bb8f16172e8f72d04edc.tar.bz2
otp-7cc68fb4820f68e21867bb8f16172e8f72d04edc.zip
int_SUITE: Fix interpretable/1 on cross-compiled platforms
c7e82c6b406b teached the debugger to use the 'source' key in Mod:module_info/1 to help locate the source code corresponding to a BEAM file. The new test that was added at the same time will fail if the test suites were cross-compiled on another computer (i.e., the 'source' key would not point to the source file on the target computer). Avoid the problem by letting int_SUITE:init_per_suite/1 compile the BEAM files. That will ensure that 'source' keys points to the actual source file.
Diffstat (limited to 'lib/debugger/test/int_SUITE_data/Emakefile')
-rw-r--r--lib/debugger/test/int_SUITE_data/Emakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/debugger/test/int_SUITE_data/Emakefile b/lib/debugger/test/int_SUITE_data/Emakefile
new file mode 100644
index 0000000000..6158d66764
--- /dev/null
+++ b/lib/debugger/test/int_SUITE_data/Emakefile
@@ -0,0 +1 @@
+{[guards,lists1,my_lists,ordsets1,test,test1],[{outdir,"."},debug_info]}.