AT_CLEANUP
AT_SETUP([Chart Ticks Format])
-AT_CHECK([chart-get-ticks-format-test], [0], [dnl
+# The 'sed' below converts, e.g. 1.5e-005 into 1.5e-05, to make the output
+# format uniform for comparison. (mingw always outputs 3-digit exponents.)
+AT_CHECK([chart-get-ticks-format-test | sed 's/e\([[-+]]\)0\([[0-9]][[0-9]]\)/e\1\2/g'], [0], [dnl
lower: 1000, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 1030, ex 2: 1040
lower: 10000, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 10030, ex 2: 10040
lower: 100000, interval: 10, nticks: 10, fs: %.0lf, scale: 1, ex: 100030, ex 2: 100040