selftest: only use Options.options.SELFTEST_PREFIX if it's not the default
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Oct 2014 08:08:17 +0000 (10:08 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 30 Oct 2014 19:25:03 +0000 (20:25 +0100)
commit331f9805ea6743ab130af719733cf51b3ddf12fb
tree383ae3bf8a1dd94f199c57f5148c5c142efba3b3
parent35356499769b0913855d79acbb805581673909a9
selftest: only use Options.options.SELFTEST_PREFIX if it's not the default

The --with-selftest-prefix option is typically specified as argument
to './configure' ! Overwriting it for 'waf testonly' should only
happen with an explicit 'waf testonly --with-selftest-prefix=/some/path'.

This fixes a regression introduced by
commit edc1cedf932de2bc068da9a5db844ac4c48f4324
(selftest: Actually honor --with-selftest-prefix).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
selftest/wscript