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 70d90bd..f376b52 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 97d68a0..ad27d88 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 cd493cf..d9a20bf 100644
--- a/C/test/tpih2.c
+++ b/C/test/tpih2.c
@@ -144,7 +144,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 190fcc0..dd2b0a9 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 1593354..a0b715d 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 3d36a69..7e26f99 100644
--- a/C/test/ttab2.c
+++ b/C/test/ttab2.c
@@ -74,7 +74,7 @@ int main()
// PGPLOT initialization.
- 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 bb32387..280d8b3 100644
--- a/C/test/ttab3.c
+++ b/C/test/ttab3.c
@@ -71,7 +71,7 @@ int main()
// PGPLOT initialization.
- 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 b2a3ba2..0e63248 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 653f294..cb693b4 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 c51ca97..2b4f2a3 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 37ebec0..fc31cc2 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 fc27ba2..e85cc73 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 a47a96a..b3a1758 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 b613aec..e909d49 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 0cc2332..dfa84fb 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 b069e6a..12d7982 100644
--- a/pgsbox/cpgtest.c
+++ b/pgsbox/cpgtest.c
@@ -63,7 +63,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 f086f83..45e414f 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.
|