diff options
author | Torvald Riegel <triegel@redhat.com> | 2013-10-08 14:04:10 +0300 |
---|---|---|
committer | Torvald Riegel <triegel@redhat.com> | 2013-10-10 14:45:30 +0300 |
commit | 40fefba1b5b05d05a3a4b48796a1006db90d8f74 (patch) | |
tree | f7bddfa085842455cbe6934dae95707a0a4e6e2e /benchtests/README | |
parent | dcc2dd3f46e6cd532527ed041103633f99efb611 (diff) | |
download | glibc-40fefba1b5b05d05a3a4b48796a1006db90d8f74.tar.gz glibc-40fefba1b5b05d05a3a4b48796a1006db90d8f74.tar.xz glibc-40fefba1b5b05d05a3a4b48796a1006db90d8f74.zip |
benchtests: Add include-sources directive.
This adds the "include-sources" directive to scripts/bench.pl. This allows for including source code (vs including headers, which might get a different search path) after the inclusion of any headers.
Diffstat (limited to 'benchtests/README')
-rw-r--r-- | benchtests/README | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/benchtests/README b/benchtests/README index 5faca53511..0c643a6590 100644 --- a/benchtests/README +++ b/benchtests/README @@ -51,9 +51,12 @@ one to add `foo' to the bench tests: inputs. - ret: This should be assigned the type that the function returns. This directive may be skipped if the function does not return a value. - - includes: This should be assigned a comma separated list of headers that + - includes: This should be assigned a comma-separated list of headers that need to be included to provide declarations for the function and types it - may need. + may need (specifically, this includes using "#include <header>"). + - include-sources: This should be assigned a comma-separated list of source + files that need to be included to provide definitions of global variables + and functions (specifically, this includes using "#include "source"). - name: See following section for instructions on how to use this directive. Lines beginning with a single hash '#' are treated as comments. See |