[gnome-desktop-testing] If report directory is specified store output in each test's temp dir



commit 96242209e5b2baedea6194baf40738c862a77850
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Thu Apr 24 01:15:52 2014 +0200

    If report directory is specified store output in each test's temp dir

 src/gnome-desktop-testing-runner.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-desktop-testing-runner.c b/src/gnome-desktop-testing-runner.c
index eec24d5..b07b829 100755
--- a/src/gnome-desktop-testing-runner.c
+++ b/src/gnome-desktop-testing-runner.c
@@ -462,8 +462,8 @@ run_test_async (Test                *test,
     }
   else
     {
-      gs_free char *test_output_filename = g_strconcat ("output-", test_squashed_name, ".txt", NULL);
-      gs_free char *test_output_path = g_build_filename (opt_report_directory, test_output_filename, NULL);
+      const char *test_output_filename = "output.txt";
+      gs_free char *test_output_path = g_build_filename (test_tmpdir, test_output_filename, NULL);
       gs_subprocess_context_set_stdout_file_path (proc_context, test_output_path);
       gs_subprocess_context_set_stderr_disposition (proc_context, 
GS_SUBPROCESS_STREAM_DISPOSITION_STDERR_MERGE);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]