fate: fix partial run when no samples path is specified
authorMans Rullgard <mans@mansr.com>
Sun, 3 Apr 2011 22:12:16 +0000 (23:12 +0100)
committerMans Rullgard <mans@mansr.com>
Sun, 3 Apr 2011 22:16:45 +0000 (23:16 +0100)
This restores the behaviour of running only the builtin
regression tests when no path to external samples is given.
aa3805a inadvertently broke this by always setting SAMPLES
to something.  Using := makes the ifdef test work as expected
when the FATE_SAMPLES environment variable is empty.

Signed-off-by: Mans Rullgard <mans@mansr.com>
configure

index dbcada5..e86f193 100755 (executable)
--- a/configure
+++ b/configure
@@ -3270,7 +3270,7 @@ SLIB_CREATE_DEF_CMD=${SLIB_CREATE_DEF_CMD}
 SLIB_EXTRA_CMD=${SLIB_EXTRA_CMD}
 SLIB_INSTALL_EXTRA_CMD=${SLIB_INSTALL_EXTRA_CMD}
 SLIB_UNINSTALL_EXTRA_CMD=${SLIB_UNINSTALL_EXTRA_CMD}
-SAMPLES=${samples:-\$(FATE_SAMPLES)}
+SAMPLES:=${samples:-\$(FATE_SAMPLES)}
 EOF
 
 get_version(){