OSDN Git Service

Added check for the version of Gnuplot.
authorNicolas Catania <niko@google.com>
Tue, 20 Oct 2009 15:21:47 +0000 (08:21 -0700)
committerNicolas Catania <niko@google.com>
Tue, 20 Oct 2009 15:21:47 +0000 (08:21 -0700)
Must be 1.8

tests/sdcard/plot_sdcard.py

index 246d7f5..0959465 100755 (executable)
@@ -328,4 +328,7 @@ def main(argv):
 
 
 if __name__ == '__main__':
+  if Gnuplot.__version__ != "1.8":
+    print "Gnuplot should be 1.8. See REAME file"
+    sys.exit(2)
   main(sys.argv)