summaryrefslogtreecommitdiff
path: root/graphics/asymptote/tests/gs/ghostscript.asy
blob: 0a76eb9a3c07e1a2c1d4977c365f1a68fa448016 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import TestLib;

StartTest("Ghostscript");
bool uptodate=texpath("A").length != 0;
if(!uptodate) {
  write();
  write();
  write("Incompatible Ghostscript version!");
  write("Please set environment variable ASYMPTOTE_EPSDRIVER to");
  write("\"epswrite\" for Ghostscript < 9.14 and to \"eps2write\" for Ghostscript >= 9.14");
  write();
}
assert(uptodate);
EndTest();