[gjs/wip/ptomato/tests: 51/59] build: Create test_user_data



commit 1fc99551991eaffec5b42d965805569a4d04471a
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Oct 22 23:50:46 2016 -0700

    build: Create test_user_data
    
    If test_user_data/logs doesn't exist then the GJS debug spew does not end
    up in test_user_data/logs/gjs.log where it is expected. Create it if it
    doesn't exist at the start of each test.

 Makefile-test.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/Makefile-test.am b/Makefile-test.am
index a2eb0db..60d20af 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -41,6 +41,8 @@ clean-local: test-user-data-clean
 test-user-data-clean:
        -rm -fr $(builddir)/test_user_data
 
+GITIGNOREFILES += test_user_data
+
 ########################################################################
 check_PROGRAMS += gjs-tests
 
@@ -118,6 +120,7 @@ AM_TESTS_ENVIRONMENT =                                              \
        export GJS_PATH=;                                       \
        export XDG_DATA_HOME=test_user_data;                    \
        export G_FILENAME_ENCODING=latin1;                      \
+       $(MKDIR_P) test_user_data/logs;                         \
        $(XVFB_START)                                           \
        $(NULL)
 


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