The rpmbuild.at autosetup test uses lua indirectly and the rpmscript.at
basic script failures 1 testcase uses lua directly. Skip both when
lua isn't available.

With this patch and configure --without-lua the test results will be:

383 tests behaved as expected.
113 tests were skipped.
---
 tests/rpmbuild.at  | 1 +
 tests/rpmscript.at | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/rpmbuild.at b/tests/rpmbuild.at
index 8120cab..bcde532 100644
--- a/tests/rpmbuild.at
+++ b/tests/rpmbuild.at
@@ -38,6 +38,7 @@ AT_CLEANUP
 
 AT_SETUP([rpmbuild -ba autosetup])
 AT_KEYWORDS([build])
+AT_SKIP_IF([$LUA_DISABLED])
 AT_CHECK([
 rm -rf ${TOPDIR}
 AS_MKDIR_P(${TOPDIR}/SOURCES)
diff --git a/tests/rpmscript.at b/tests/rpmscript.at
index ac6c76d..aacc448 100644
--- a/tests/rpmscript.at
+++ b/tests/rpmscript.at
@@ -4,6 +4,7 @@ AT_BANNER([RPM scriptlets])
 
 AT_SETUP([basic script failures 1])
 AT_KEYWORDS([script])
+AT_SKIP_IF([$LUA_DISABLED])
 AT_CHECK([
 RPMDB_CLEAR
 RPMDB_INIT
-- 
1.8.3.1

_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to