summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2015-08-29 00:21:19 -0500
committerNorbert Thiebaud <nthiebaud@gmail.com>2015-08-29 00:21:19 -0500
commitf7d21170587c86a6fb4dbe2a0281f25cd7780d69 (patch)
treea1b0ebd0c5ef7fb496f8f6b6156649dd488365a7
parenta75148c51eb412194c1691632c5ffa7fc58b1296 (diff)
loperf_suites use TMPDIR where appropriate
Change-Id: If0e8f2fc8020898c3ff8de54fc147a865957b7a0
-rw-r--r--loperf_suites/calc_suite.cfg2
-rw-r--r--loperf_suites/empty_suite.cfg2
-rw-r--r--loperf_suites/writer_suite.cfg2
3 files changed, 3 insertions, 3 deletions
diff --git a/loperf_suites/calc_suite.cfg b/loperf_suites/calc_suite.cfg
index ba1c427..1b8a5c7 100644
--- a/loperf_suites/calc_suite.cfg
+++ b/loperf_suites/calc_suite.cfg
@@ -2,6 +2,6 @@
suite_name="calc"
suite_docs_dir="../loperf" # relative path here are relative to the dirname of this file
suite_tests_dir="calc"
-suite_work_dir="/tmp/suite_calc"
+suite_work_dir="${TMPDIR:-/tmp}/suite_calc"
suite_logs_dir="$HOME/suite_logs" # will be created as needed
suite_tests="multi_line_cells_ods multi_line_cells_xlsx numbers_ods numbers_xls numbers_xlsx big_file_ods formula_compiler_ods"
diff --git a/loperf_suites/empty_suite.cfg b/loperf_suites/empty_suite.cfg
index 9117113..e45dcfa 100644
--- a/loperf_suites/empty_suite.cfg
+++ b/loperf_suites/empty_suite.cfg
@@ -2,6 +2,6 @@
suite_name="empty"
suite_docs_dir="../loperf" # relative path here are relative to the dirname of this file
suite_tests_dir="empty"
-suite_work_dir="/tmp/suite_empty"
+suite_work_dir="${TMPDIR:-/tmp}/suite_empty"
suite_logs_dir="$HOME/suite_logs" # will be created as needed
suite_tests="no-op empty_odt empty_ods empty_odg empty_odp"
diff --git a/loperf_suites/writer_suite.cfg b/loperf_suites/writer_suite.cfg
index abd3fc6..9ec6d23 100644
--- a/loperf_suites/writer_suite.cfg
+++ b/loperf_suites/writer_suite.cfg
@@ -2,6 +2,6 @@
suite_name="writer"
suite_docs_dir="../loperf" # relative path here are relative to the dirname of this file
suite_tests_dir="writer"
-suite_work_dir="/tmp/suite_writer"
+suite_work_dir="${TMPDIR:-/tmp}/suite_writer"
suite_logs_dir="$HOME/suite_logs" # will be created as needed
suite_tests="long_para very_long_table_odt very_long_table_doc very_long_table_docx style_switch_odt style_switch_doc style_switch_docx many_styles_docx grammar_spaces_doc many_images_odt fdo_72884_doc"