Skip to content

Commit

Permalink
TEST: Disable CGI test for Windows because environment variables set …
Browse files Browse the repository at this point in the history
…using

Prolog setenv/2 are not visible in the CRT runtime function getenv().

This either requires updating the CGI module to use the Win32 environment
API or start a new process for reading the CGI input.
  • Loading branch information
JanWielemaker committed Mar 30, 2022
1 parent 0dd8761 commit 4288a41
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test_cgi.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
Author: Jan Wielemaker
E-mail: [email protected]
WWW: http://www.swi-prolog.org
Copyright (c) 2009-2011, VU University, Amsterdam
Copyright (c) 2009-2022, VU University, Amsterdam
SWI-Prolog Solutions b.v.
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -55,7 +56,7 @@
I2 is I - 1,
n_list_of(I2, H, T).

:- begin_tests(cgi).
:- begin_tests(cgi, [condition(\+ current_prolog_flag(windows, true))]).

test(atom, In == Out) :-
In = [name(value)],
Expand Down

0 comments on commit 4288a41

Please sign in to comment.