diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:02:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:02:28 +0000 |
commit | 7442d6faa2719e4e7d33a7021c406c5a4facd74d (patch) | |
tree | c72b9241553fc9966179aba84f90f17bfa9235c3 /test/Driver/response-file.c | |
parent | b52119637f743680a99710ce5fdb6646da2772af (diff) |
Diffstat (limited to 'test/Driver/response-file.c')
-rw-r--r-- | test/Driver/response-file.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/Driver/response-file.c b/test/Driver/response-file.c index bd336309adf8e..a7c5966c98d1d 100644 --- a/test/Driver/response-file.c +++ b/test/Driver/response-file.c @@ -1,5 +1,3 @@ -// REQUIRES: long_tests - // Check that clang is able to process short response files // Since this is a short response file, clang must not use a response file // to pass its parameters to other tools. This is only necessary for a large @@ -11,11 +9,12 @@ // Check that clang is able to process long response files, routing a long // sequence of arguments to other tools by using response files as well. -// We generate a 2MB response file to be big enough to surpass any system -// limit. +// We generate a 2MB response file to attempt to surpass any system limit. +// But there's no guarantee that we actually will (the system limit could be +// *huge*), so just check that invoking cc1 succeeds under these conditions. +// // RUN: %clang -E %S/Inputs/gen-response.c | grep DTEST > %t.1.txt // RUN: %clang -E @%t.1.txt %s -v 2>&1 | FileCheck %s -check-prefix=LONG -// LONG: Arguments passed via response file // LONG: extern int it_works; #ifdef TEST |