diff options
author | Björn Gustavsson <[email protected]> | 2012-12-03 16:12:03 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-01-09 12:41:03 +0100 |
commit | e3b9a156948461851d2b24d258cccd64a8466fc1 (patch) | |
tree | d64c6cb656ea0b8136bc64a742198a9909bf89a9 /lib/stdlib/test/qlc_SUITE.erl | |
parent | d3e925bca5aaf82634315f14c57496670eb6091b (diff) | |
download | otp-e3b9a156948461851d2b24d258cccd64a8466fc1.tar.gz otp-e3b9a156948461851d2b24d258cccd64a8466fc1.tar.bz2 otp-e3b9a156948461851d2b24d258cccd64a8466fc1.zip |
qlc: Remove support for packages
Diffstat (limited to 'lib/stdlib/test/qlc_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/qlc_SUITE.erl | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/stdlib/test/qlc_SUITE.erl b/lib/stdlib/test/qlc_SUITE.erl index e3090e4a47..cac8309bd9 100644 --- a/lib/stdlib/test/qlc_SUITE.erl +++ b/lib/stdlib/test/qlc_SUITE.erl @@ -6062,21 +6062,6 @@ otp_6673(Config) when is_list(Config) -> ], ?line run(Config, Ts_RT), - %% Ulf Wiger provided a patch that makes QLC work with packages: - Dir = filename:join(?privdir, "p"), - ?line ok = filelib:ensure_dir(filename:join(Dir, ".")), - File = filename:join(Dir, "p.erl"), - ?line ok = file:write_file(File, - <<"-module(p.p).\n" - "-export([q/0]).\n" - "-include_lib(\"stdlib/include/qlc.hrl\").\n" - "q() ->\n" - " .qlc:q([X || X <- [1,2]]).">>), - ?line {ok, 'p.p'} = compile:file(File, [{outdir,Dir}]), - ?line code:purge('p.p'), - ?line {module, 'p.p'} = code:load_abs(filename:rootname(File), 'p.p'), - ?line [1,2] = qlc:e(p.p:q()), - ok. otp_6964(doc) -> |