aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parsetools
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2019-03-29 12:32:55 +0100
committerHans Bolinder <[email protected]>2019-04-04 12:48:30 +0200
commit07438654d8910e81f7b85ee7fe75d521e834d4bf (patch)
tree8b51bd32fcaad48f48e22f28c620da3ee75a138e /lib/parsetools
parent77fe4acc29735b15da19d7c991f83bca22417102 (diff)
downloadotp-07438654d8910e81f7b85ee7fe75d521e834d4bf.tar.gz
otp-07438654d8910e81f7b85ee7fe75d521e834d4bf.tar.bz2
otp-07438654d8910e81f7b85ee7fe75d521e834d4bf.zip
parsetools: Remove no longer working tests
Since Erlang/OTP 21 "//" can be opened for writing on Windows, but writing to the file causes file_io_server to crash.
Diffstat (limited to 'lib/parsetools')
-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),