File: patch-test-runner-for-Debian.patch

package info (click to toggle)
f-el 0.20.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 288 kB
  • sloc: lisp: 1,786; makefile: 26
file content (42 lines) | stat: -rw-r--r-- 1,098 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From: Sean Whitton <spwhitton@spwhitton.name>
Date: Mon, 14 Dec 2015 21:36:21 -0700
Subject: patch test runner for Debian
Last-Update: 2016-10-11

undercover.el is not needed for running for the test suite: it is used
for f-el's continuous integration testing setup, which we're not
running

Load test suite with `require' as that works during the package build
and with autopkgtest.  Upstream's method only works during the package
build.

Forwarded: not-needed
---
 test/f-init.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/f-init.el b/test/f-init.el
index 0a41e0d..42f67e7 100644
--- a/test/f-init.el
+++ b/test/f-init.el
@@ -25,8 +25,8 @@
 
 ;;; Code:
 
-(require 'undercover)
-(undercover "f.el")
+;; (require 'undercover)
+;; (undercover "f.el")
 
 (defvar f-test/test-path
   (directory-file-name (file-name-directory load-file-name))
@@ -39,7 +39,7 @@
 ;; TODO: WHERE CAN WE PUT THIS?
 ;; (unload-feature 'f 'force)
 
-(load (expand-file-name "f" f-test/root-path) 'noerror 'nomessage)
+(require 'f)
 
 (require 'ert-async)
 (unless (require 'ert nil t)