From 40fefba1b5b05d05a3a4b48796a1006db90d8f74 Mon Sep 17 00:00:00 2001 From: Torvald Riegel Date: Tue, 8 Oct 2013 14:04:10 +0300 Subject: 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. --- benchtests/README | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'benchtests/README') 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
"). + - 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 -- cgit v1.2.3