[gnome-settings-daemon] power: Add hint on how to run a single test
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] power: Add hint on how to run a single test
- Date: Mon, 21 Jan 2013 15:47:43 +0000 (UTC)
commit b0532b1d6e2fd3bfb1b319cb05ddd617814ae895
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jan 21 16:42:34 2013 +0100
power: Add hint on how to run a single test
plugins/power/Makefile.am | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/power/Makefile.am b/plugins/power/Makefile.am
index af28bb5..8850826 100644
--- a/plugins/power/Makefile.am
+++ b/plugins/power/Makefile.am
@@ -131,6 +131,8 @@ gsd_power_enums_update_LDFLAGS = $(POWER_LIBS)
EXTRA_DIST += gsd-power-constants-update.pl gsdpowerconstants.py gsdpowerenums.py test.py
check-local: $(top_builddir)/tests/shiftkey gsd-test-power test.py gsdpowerconstants.py gsdpowerenums.py
+# This is how you run a single test
+# BUILDDIR=$(builddir) TOP_BUILDDIR=$(top_builddir) ${PYTHON} $(srcdir)/test.py PowerPluginTest.test_sleep_inactive_blank
BUILDDIR=$(builddir) TOP_BUILDDIR=$(top_builddir) ${PYTHON} $(srcdir)/test.py
clean-local:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]