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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
|
From: Ole Streicher <debian@liska.ath.cx>
Date: Sun, 15 Jan 2017 16:35:33 +0100
Subject: Use dummy graphics for testing.
The tests run unattended anyway, so there is no use of a visible graphics.
---
C/test/tcel1.c | 2 +-
C/test/tcel2.c | 2 +-
C/test/tpih2.c | 2 +-
C/test/tprj2.c | 2 +-
C/test/tspc.c | 2 +-
C/test/ttab2.c | 2 +-
C/test/ttab3.c | 2 +-
C/test/twcsmix.c | 2 +-
Fortran/test/tcel1.f | 2 +-
Fortran/test/tpih2.f | 2 +-
Fortran/test/tprj2.f | 2 +-
Fortran/test/tspc.f | 2 +-
Fortran/test/ttab2.f | 2 +-
Fortran/test/ttab3.f | 2 +-
Fortran/test/twcsmix.f | 2 +-
pgsbox/cpgtest.c | 2 +-
pgsbox/pgtest.f | 2 +-
17 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/C/test/tcel1.c b/C/test/tcel1.c
index a8efcb3..a09173a 100644
--- a/C/test/tcel1.c
+++ b/C/test/tcel1.c
@@ -77,7 +77,7 @@ int main()
// PGPLOT initialization.
- strcpy(text, "/xwindow");
+ strcpy(text, "/null");
cpgbeg(0, text, 1, 1);
// Define pen colours.
diff --git a/C/test/tcel2.c b/C/test/tcel2.c
index d32c243..a4c040c 100644
--- a/C/test/tcel2.c
+++ b/C/test/tcel2.c
@@ -103,7 +103,7 @@ int main()
// PGPLOT initialization.
- strcpy(text, "/xwindow");
+ strcpy(text, "/null");
cpgbeg(0, text, 1, 1);
// Define pen colours.
diff --git a/C/test/tpih2.c b/C/test/tpih2.c
index 6b1c8b8..10946cb 100644
--- a/C/test/tpih2.c
+++ b/C/test/tpih2.c
@@ -148,7 +148,7 @@ int main()
trc[0] = naxis[0] + 0.5f;
trc[1] = naxis[1] + 0.5f;
- strcpy(devtyp, "/XWINDOW");
+ strcpy(devtyp, "/NULL");
cpgbeg(0, devtyp, 1, 1);
cpgvstd();
diff --git a/C/test/tprj2.c b/C/test/tprj2.c
index ccbc8b3..a04bca6 100644
--- a/C/test/tprj2.c
+++ b/C/test/tprj2.c
@@ -62,7 +62,7 @@ int main()
// PGPLOT initialization.
- strcpy(text, "/xwindow");
+ strcpy(text, "/null");
cpgbeg(0, text, 1, 1);
// Define pen colours.
diff --git a/C/test/tspc.c b/C/test/tspc.c
index 1eac6da..015b99c 100644
--- a/C/test/tspc.c
+++ b/C/test/tspc.c
@@ -67,7 +67,7 @@ int main()
// PGPLOT initialization.
char text[80];
- strcpy(text, "/xwindow");
+ strcpy(text, "/null");
cpgbeg(0, text, 1, 1);
int naxisj = NSPEC;
diff --git a/C/test/ttab2.c b/C/test/ttab2.c
index 269c8d9..a674543 100644
--- a/C/test/ttab2.c
+++ b/C/test/ttab2.c
@@ -67,7 +67,7 @@ int main()
// PGPLOT initialization.
char text[80];
- strcpy(text, "/xwindow");
+ strcpy(text, "/null");
cpgbeg(0, text, 1, 1);
cpgvstd();
cpgsch(0.7f);
diff --git a/C/test/ttab3.c b/C/test/ttab3.c
index eb416cf..fe00b50 100644
--- a/C/test/ttab3.c
+++ b/C/test/ttab3.c
@@ -65,7 +65,7 @@ int main()
// PGPLOT initialization.
char text[80];
- strcpy(text, "/xwindow");
+ strcpy(text, "/null");
cpgbeg(0, text, 1, 1);
cpgvstd();
cpgsch(0.7f);
diff --git a/C/test/twcsmix.c b/C/test/twcsmix.c
index 0c5b507..39333e6 100644
--- a/C/test/twcsmix.c
+++ b/C/test/twcsmix.c
@@ -90,7 +90,7 @@ int main()
// PGPLOT initialization.
- strcpy(text, "/xwindow");
+ strcpy(text, "/null");
cpgbeg(0, text, 1, 1);
// Define pen colours.
diff --git a/Fortran/test/tcel1.f b/Fortran/test/tcel1.f
index 894c21d..08a553c 100644
--- a/Fortran/test/tcel1.f
+++ b/Fortran/test/tcel1.f
@@ -75,7 +75,7 @@
* PGPLOT initialization.
- CALL PGBEG (0, '/xwindow', 1, 1)
+ CALL PGBEG (0, '/null', 1, 1)
* Define pen colours.
CALL PGSCR (0, 0.00, 0.00, 0.00)
diff --git a/Fortran/test/tpih2.f b/Fortran/test/tpih2.f
index ec4e454..bfcffac 100644
--- a/Fortran/test/tpih2.f
+++ b/Fortran/test/tpih2.f
@@ -129,7 +129,7 @@
TRC(1) = NAXIS(1) + 0.5
TRC(2) = NAXIS(2) + 0.5
- DEVTYP = '/XWINDOW'
+ DEVTYP = '/NULL'
CALL PGBEG(0, DEVTYP, 1, 1)
CALL PGVSTD()
diff --git a/Fortran/test/tprj2.f b/Fortran/test/tprj2.f
index 6ac0c5b..c51856e 100644
--- a/Fortran/test/tprj2.f
+++ b/Fortran/test/tprj2.f
@@ -46,7 +46,7 @@
20 CONTINUE
* PGPLOT initialization.
- CALL PGBEG (0, '/xwindow', 1, 1)
+ CALL PGBEG (0, '/null', 1, 1)
* Define pen colours.
CALL PGSCR (0, 0.00, 0.00, 0.00)
diff --git a/Fortran/test/tspc.f b/Fortran/test/tspc.f
index 62e8408..841d252 100644
--- a/Fortran/test/tspc.f
+++ b/Fortran/test/tspc.f
@@ -53,7 +53,7 @@
NFAIL = 0
* PGPLOT initialization.
- CALL PGBEG (0, '/xwindow', 1, 1)
+ CALL PGBEG (0, '/null', 1, 1)
NAXISJ = NSPEC
CRPIXJ = NAXISJ/2 + 1
diff --git a/Fortran/test/ttab2.f b/Fortran/test/ttab2.f
index 9efebb9..112c6ea 100644
--- a/Fortran/test/ttab2.f
+++ b/Fortran/test/ttab2.f
@@ -70,7 +70,7 @@
* PGPLOT initialization.
- CALL PGBEG (0, '/xwindow', 1, 1)
+ CALL PGBEG (0, '/null', 1, 1)
CALL PGVSTD ()
CALL PGSCH (0.7)
diff --git a/Fortran/test/ttab3.f b/Fortran/test/ttab3.f
index ed4cbeb..57b42af 100644
--- a/Fortran/test/ttab3.f
+++ b/Fortran/test/ttab3.f
@@ -65,7 +65,7 @@
* PGPLOT initialization.
- CALL PGBEG (0, '/xwindow', 1, 1)
+ CALL PGBEG (0, '/null', 1, 1)
CALL PGVSTD ()
CALL PGSCH (0.7)
CALL PGWNAD (-135.0, 135.0, -95.0, 140.0)
diff --git a/Fortran/test/twcsmix.f b/Fortran/test/twcsmix.f
index bf5829e..a790124 100644
--- a/Fortran/test/twcsmix.f
+++ b/Fortran/test/twcsmix.f
@@ -87,7 +87,7 @@
: '-----------------------------------------')
* PGPLOT initialization.
- CALL PGBEG (0, '/xwindow', 1, 1)
+ CALL PGBEG (0, '/null', 1, 1)
* Define pen colours.
CALL PGSCR (0, 0.00, 0.00, 0.00)
diff --git a/pgsbox/cpgtest.c b/pgsbox/cpgtest.c
index 00c4fd9..345013d 100644
--- a/pgsbox/cpgtest.c
+++ b/pgsbox/cpgtest.c
@@ -68,7 +68,7 @@ int main()
trc[1] = naxis[1] + 0.5f;
char devtyp[16];
- strcpy(devtyp, "/XWINDOW");
+ strcpy(devtyp, "/NULL");
cpgbeg(0, devtyp, 1, 1);
int nchr = 16;
diff --git a/pgsbox/pgtest.f b/pgsbox/pgtest.f
index 218f3d0..d4d3221 100644
--- a/pgsbox/pgtest.f
+++ b/pgsbox/pgtest.f
@@ -57,7 +57,7 @@
ESCAPE = CHAR(92)
* CALL PGBEG (0, '?', 1, 1)
- call pgbeg (0, '/xw', 1, 1)
+ call pgbeg (0, '/null', 1, 1)
CALL PGQINF ('TYPE', DEVTYP, J)
IF (DEVTYP.EQ.'PS' .OR.
|