[gjs/wip/ptomato/tests: 5/12] build: Create test_user_data
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/tests: 5/12] build: Create test_user_data
- Date: Wed, 26 Oct 2016 08:01:38 +0000 (UTC)
commit 959762c4f70afc5dd6220da8a2965a6966afb05d
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 ec074ef..33104f7 100644
--- a/Makefile-test.am
+++ b/Makefile-test.am
@@ -41,6 +41,8 @@ SKIPPED_TESTS += /js/Cairo
endif
CLEANFILES += uninstalled-system-test-bus.conf uninstalled-test-bus.conf
+GITIGNOREFILES += test_user_data
+
clean-local: test-user-data-clean
test-user-data-clean:
@@ -126,6 +128,7 @@ AM_TESTS_ENVIRONMENT = \
export DBUS_UUIDGEN="$(DBUS_UUIDGEN)"; \
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]