[gjs/wip/ptomato/tests: 2/3] build: Create test_user_data
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/wip/ptomato/tests: 2/3] build: Create test_user_data
- Date: Sun, 23 Oct 2016 07:11:37 +0000 (UTC)
commit e708e80325e4e461a5fa0be229616be1e41431e2
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]