Message ID | 20161102232224.74747-1-luc.vanoostenryck@gmail.com (mailing list archive) |
---|---|
State | Mainlined, archived |
Headers | show |
On Thu, Nov 3, 2016 at 7:22 AM, Luc Van Oostenryck <luc.vanoostenryck@gmail.com> wrote: > The test suite must be run from the validation/ dir > which is sometimes slightly annoying. > > Change that by letting the script to first do a cd to > the validation dir. Applied. Chris -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/validation/test-suite b/validation/test-suite index 03421a24..9a033439 100755 --- a/validation/test-suite +++ b/validation/test-suite @@ -2,6 +2,8 @@ #set -x +cd $(dirname "$0") + default_path=".." default_cmd="sparse \$file" tests_list=`find . -name '*.c' | sed -e 's#^\./\(.*\)#\1#' | sort`
The test suite must be run from the validation/ dir which is sometimes slightly annoying. Change that by letting the script to first do a cd to the validation dir. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> --- validation/test-suite | 2 ++ 1 file changed, 2 insertions(+)