]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Darwin, testsuite] Adjust two tests that fail on newer OS versions.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 13 Sep 2019 21:45:28 +0000 (21:45 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Fri, 13 Sep 2019 21:45:28 +0000 (21:45 +0000)
commit24682dea3be9e3695336b4322b8c4a2b2c37a03e
tree8a0003d5f6107b42413633a15037f6ad85d075ca
parent3dd2a01fb8499072178f7c80f7a26438edead6c6
[Darwin, testsuite] Adjust two tests that fail on newer OS versions.

Newer OS versions (10.14+) do not provide some of the CRTs that are used
for older ones (e.g. 10.5), and thus link tests that specify targeting
such a revision fail. We retain the testing of the correct defined OS
version number but switch to compile-only testing for these two tests.

2019-09-13  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline.
2019-06-13  Iain Sandoe  <iain@sandoe.co.uk>

* gcc.dg/darwin-minversion-1.c: Use compile rather than link/run.

From-SVN: r275705
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/darwin-minversion-1.c
gcc/testsuite/gcc.dg/darwin-minversion-2.c