mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 12:19:18 +02:00
* fix for wrong nested comments resulting in wrong results under *nix, etc., with redirected output
git-svn-id: trunk@49334 -
This commit is contained in:
parent
aa03991088
commit
cb2c0ae594
@ -1,5 +1,5 @@
|
|||||||
{$DEFINE VERBOSE}
|
{ $DEFINE VERBOSE}
|
||||||
{$DEFINE DEBUG}
|
{ $DEFINE DEBUG}
|
||||||
(* Define the following if the test will be run manually in a console *)
|
(* Define the following if the test will be run manually in a console *)
|
||||||
(* (no output redirection) - otherwise the test will fail for some targets. *)
|
(* (no output redirection) - otherwise the test will fail for some targets. *)
|
||||||
{ $DEFINE CONSOLE}
|
{ $DEFINE CONSOLE}
|
||||||
@ -18,12 +18,12 @@ const
|
|||||||
ConsoleDeviceName = 'CON';
|
ConsoleDeviceName = 'CON';
|
||||||
{$DEFINE TESTCONSOLEOK}
|
{$DEFINE TESTCONSOLEOK}
|
||||||
{$ELSE}
|
{$ELSE}
|
||||||
{ {$IF DEFINED(UNIX)}
|
(* {$IF DEFINED(UNIX)}
|
||||||
(* I don't know whether there's a device on Unix allowing to enforce output to console even if standard output is redirected for the given process... *)
|
{ I don't know whether there's a device on Unix allowing to enforce output to console even if standard output is redirected for the given process... }
|
||||||
ConsoleDeviceName = '/dev/tty';
|
ConsoleDeviceName = '/dev/tty';
|
||||||
{$DEFINE TESTCONSOLEOK}
|
{$DEFINE TESTCONSOLEOK}
|
||||||
{$ELSE}
|
{$ELSE}
|
||||||
}
|
*)
|
||||||
{$IFDEF CONSOLE}
|
{$IFDEF CONSOLE}
|
||||||
ConsoleDeviceName = '';
|
ConsoleDeviceName = '';
|
||||||
{$DEFINE TESTCONSOLEOK}
|
{$DEFINE TESTCONSOLEOK}
|
||||||
|
Loading…
Reference in New Issue
Block a user