-# Copyright (C) 2015 Free Software Foundation, Inc.
+# Copyright (C) 2015-2017 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# ld.so probes before reaching main, and ptrace flags were set then. But a
# static executable would just keep running and never catch the fork.
-if { [is_remote target] || ![isnative] } then {
- continue
-}
-
# Until "catch fork" is implemented on other targets...
#
-if { ![istarget "hppa*-hp-hpux*"] && ![istarget "*-*-linux*"]
- && ![istarget "*-*-openbsd*"] } then {
+if { ![istarget "*-*-linux*"] && ![istarget "*-*-openbsd*"] } then {
continue
}
# Reusing foll-fork.c since it's a simple forking program.
standard_testfile foll-fork.c
-if { [prepare_for_testing ${testfile}.exp ${testfile} $srcfile \
+if { [prepare_for_testing "failed to prepare" ${testfile} $srcfile \
{additional_flags=-static}] } {
return -1
}