aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-04-10 13:37:34 +0200
committerHans Bolinder <[email protected]>2019-04-10 13:37:34 +0200
commit1edbf63cf20b44d2bdc9370427ee2575f07f642d (patch)
tree3717e05292f3e788d9303a8859e8c62d7c0051de /lib
parent77a3d2a706c84e4ce46ae00f2e3f1e08c06dfc65 (diff)
parent07438654d8910e81f7b85ee7fe75d521e834d4bf (diff)
downloadotp-1edbf63cf20b44d2bdc9370427ee2575f07f642d.tar.gz
otp-1edbf63cf20b44d2bdc9370427ee2575f07f642d.tar.bz2
otp-1edbf63cf20b44d2bdc9370427ee2575f07f642d.zip
Merge branch 'hasse/parsetools/fix_leex_test'
* hasse/parsetools/fix_leex_test: parsetools: Remove no longer working tests
Diffstat (limited to 'lib')
-rw-r--r--lib/parsetools/test/leex_SUITE.erl7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/parsetools/test/leex_SUITE.erl b/lib/parsetools/test/leex_SUITE.erl
index 3f5d9fee3e..ad8fb11beb 100644
--- a/lib/parsetools/test/leex_SUITE.erl
+++ b/lib/parsetools/test/leex_SUITE.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 2010-2017. All Rights Reserved.
+%% Copyright Ericsson AB 2010-2019. All Rights Reserved.
%%
%% Licensed under the Apache License, Version 2.0 (the "License");
%% you may not use this file except in compliance with the License.
@@ -124,10 +124,6 @@ file(Config) when is_list(Config) ->
"Erlang code.\n">>,
?line ok = file:write_file(Filename, Mini),
?line {error,[{_,[{none,leex,{file_error,_}}]}],[]} =
- leex:file(Filename, [{scannerfile,"//"} | Ret]),
- ?line {error,[{_,[{none,leex,{file_error,_}}]}],[]} =
- leex:file(Filename, [{includefile,"//"} | Ret]),
- ?line {error,[{_,[{none,leex,{file_error,_}}]}],[]} =
leex:file(Filename, [{includefile,"/ /"} | Ret]),
LeexPre = filename:join(Dir, "leexinc.hrl"),
@@ -191,7 +187,6 @@ compile(Config) when is_list(Config) ->
"{L}+ : {token,{word,TokenLine,TokenChars}}.\n"
"Erlang code.\n">>,
?line ok = file:write_file(Filename, Mini),
- ?line error = leex:compile(Filename, "//", #options{}),
?line ok = leex:compile(Filename, Scannerfile, #options{}),
file:delete(Scannerfile),
file:delete(Filename),