mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 13:08:00 +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 DEBUG}
|
||||
{ $DEFINE VERBOSE}
|
||||
{ $DEFINE DEBUG}
|
||||
(* Define the following if the test will be run manually in a console *)
|
||||
(* (no output redirection) - otherwise the test will fail for some targets. *)
|
||||
{ $DEFINE CONSOLE}
|
||||
@ -18,12 +18,12 @@ const
|
||||
ConsoleDeviceName = 'CON';
|
||||
{$DEFINE TESTCONSOLEOK}
|
||||
{$ELSE}
|
||||
{ {$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... *)
|
||||
(* {$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... }
|
||||
ConsoleDeviceName = '/dev/tty';
|
||||
{$DEFINE TESTCONSOLEOK}
|
||||
{$ELSE}
|
||||
}
|
||||
*)
|
||||
{$IFDEF CONSOLE}
|
||||
ConsoleDeviceName = '';
|
||||
{$DEFINE TESTCONSOLEOK}
|
||||
|
Loading…
Reference in New Issue
Block a user