File: Skip-source-dependent-tests.patch

package info (click to toggle)
iraf 2.18.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 86,000 kB
  • sloc: ansic: 115,890; fortran: 74,576; lisp: 18,888; yacc: 5,642; sh: 961; lex: 596; makefile: 509; asm: 159; csh: 54; xml: 33; sed: 4
file content (74 lines) | stat: -rw-r--r-- 1,800 bytes parent folder | download
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
From: Ole Streicher <olebole@debian.org>
Date: Sat, 25 Nov 2017 15:45:49 +0100
Subject: Skip source dependent tests

The sources are not available in the installed IRAF, so we skip the
tests that need them.
---
 test/numerical-recipes.md | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/test/numerical-recipes.md b/test/numerical-recipes.md
index c53cb31..4a8272b 100644
--- a/test/numerical-recipes.md
+++ b/test/numerical-recipes.md
@@ -49,7 +49,7 @@ end
 Compile it, declare and run as an IRAF task. The following numbers are
 the result of the original NR code.
 
-Test options: `decimals=2`
+Test options: `decimals=2 skip`
 ```
 cl> softools
 cl> xc -x test-gasdev.x -lxtools
@@ -106,7 +106,7 @@ end
 Compile it, declare and run as an IRAF task. The following numbers are
 the result of the original NR code.
 
-Test options: `decimals=1`
+Test options: `decimals=1 skip`
 ```
 cl> softools
 cl> xc -x test-poidev.x -lxtools
@@ -148,7 +148,7 @@ end
 Compile it, declare and run as an IRAF task. The following numbers are
 the result of the original NR code.
 
-Test options: `decimals=4`
+Test options: `decimals=4 skip`
 ```
 cl> softools
 cl> xc -x test-gammln.x -lxtools
@@ -259,6 +259,7 @@ end
 Compile it, declare and run as an IRAF task. The following numbers are
 the result of the original NR code.
 
+Test options: `skip`
 ```
 cl> copy noao$astutil/asttools/asttimes.x .
 cl> softools
@@ -442,6 +443,7 @@ begin
 end
 ```
 
+Test options: `skip`
 ```
 cl> copy pkg$stxtools/lu* .
 cl> softools
@@ -541,6 +543,7 @@ begin
 end
 ```
 
+Test options: `skip`
 ```
 cl> copy noao$rv/numrep.x .
 cl> softools
@@ -612,7 +615,7 @@ begin
 end
 ```
 
-Test options: `decimals=3`
+Test options: `decimals=3 skip`
 ```
 cl> softools
 cl> xc -x test_twofft.x numrep.x