File: 06-disable_smsd-dbi-sqlite3.patch

package info (click to toggle)
gammu 1.42.0-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,340 kB
  • sloc: ansic: 107,388; pascal: 7,209; cpp: 3,976; php: 1,622; python: 1,559; sh: 1,208; sql: 601; perl: 240; makefile: 162; asm: 31; cs: 4
file content (22 lines) | stat: -rw-r--r-- 719 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Disable the unreliable smsd-dbi-sqlite3 test
 The smsd-dbi-sqlite3 test fails randomly because it is very
 sensitive to timing and host's performance. Disable it to
 obtain saner build/test results.
 .
Author: Boian Bonev <bbonev@ipacct.com>
Origin: other
Forwarded: not-needed
Last-Update: 2021-10-20

--- a/smsd/CMakeTests.txt
+++ b/smsd/CMakeTests.txt
@@ -57,7 +57,8 @@ if (WITH_BACKUP)
     endmacro(smsd_testsuite _driver)
 
     if (LIBDBI_FOUND AND SH_BIN AND SQLITE_BIN AND SED_BIN)
-        smsd_testsuite("dbi-sqlite3")
+		# Disable this unreliable test for Debian builds
+        # smsd_testsuite("dbi-sqlite3")
     endif (LIBDBI_FOUND AND SH_BIN AND SQLITE_BIN AND SED_BIN)
 
     if (SH_BIN)