aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-12-31 18:25:25 -0800
committerKenneth Graunke <kenneth@whitecape.org>2013-01-03 13:40:41 -0800
commite3db225ce9cc573921d9f7dbd4376204948c290d (patch)
tree12b13148fa0ab6bdf85d3afba26f57a883d4db50
parent42a5b472c9f9fc7592b75b229495a77d3c8e4485 (diff)
glean: Remove remnants of image output code.
Jose removed the rgbTriStrip test and TIFF output, which was the only remaining user of this code.
-rw-r--r--tests/glean/environ.cpp15
-rw-r--r--tests/glean/environ.h11
2 files changed, 0 insertions, 26 deletions
diff --git a/tests/glean/environ.cpp b/tests/glean/environ.cpp
index d06a9666..c6906772 100644
--- a/tests/glean/environ.cpp
+++ b/tests/glean/environ.cpp
@@ -126,19 +126,4 @@ Environment::resultFileName(string& dbName, string& testName) {
return fileName;
} // Environment::resultFileName
-string
-Environment::imageFileName(string& dbName, string& testName, int n) {
- char sn[4];
- sn[3] = 0;
- sn[2] = static_cast<char>('0' + n % 10);
- sn[1] = static_cast<char>('0' + (n / 10) % 10);
- sn[0] = static_cast<char>('0' + (n / 100) % 10);
-# if defined(__UNIX__)
- string fileName(dbName + '/' + testName + "/i" + sn + ".tif");
-# elif defined(__MS__)
- string fileName(dbName + '/' + testName + "/i" + sn + ".tif");
-# endif
- return fileName;
-} // Environment::imageFileName
-
} // namespace GLEAN
diff --git a/tests/glean/environ.h b/tests/glean/environ.h
index 30b907d3..b8e4a50b 100644
--- a/tests/glean/environ.h
+++ b/tests/glean/environ.h
@@ -78,17 +78,6 @@ class Environment {
inline string resultFileName(string& testName) {
return resultFileName(options.db1Name, testName);
}
-
- string imageFileName(string& dbName, string& testName, int n);
- // Return name of image file number ``n''
- // associated with the given test.
- // XXX Doesn't create results directory,
- // so resultFileName() must be called before
- // using this.
- inline string imageFileName(string& testName, int n) {
- return imageFileName(options.db1Name, testName, n);
- }
-
}; // class Environment
} // namespace GLEAN