diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2011-09-29 14:44:14 +1000 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2011-09-29 14:44:14 +1000 |
commit | 7ae8987e45b0d4461950253a6f8ff0bc7d4ae132 (patch) | |
tree | 8dcfd7c805544999117e3a9488756bae7ed3f6eb /tests | |
parent | 0d78ef2c396b9bf02ed41a85216ddc4d3c2db150 (diff) | |
download | lightdm-7ae8987e45b0d4461950253a6f8ff0bc7d4ae132.tar.gz |
Rename test-xserver to X and remove --xserver-command option
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/Makefile.am | 8 | ||||
-rw-r--r-- | tests/src/X.c (renamed from tests/src/test-xserver.c) | 0 | ||||
-rw-r--r-- | tests/src/test-runner.c | 3 |
3 files changed, 5 insertions, 6 deletions
diff --git a/tests/src/Makefile.am b/tests/src/Makefile.am index 814810cb..23832c5a 100644 --- a/tests/src/Makefile.am +++ b/tests/src/Makefile.am @@ -1,4 +1,4 @@ -noinst_PROGRAMS = test-runner test-xserver test-gobject-greeter test-guest-account test-session test-script-hook initctl plymouth +noinst_PROGRAMS = test-runner X test-gobject-greeter test-guest-account test-session test-script-hook initctl plymouth lib_LTLIBRARIES = libsystem.la libsystem_la_SOURCES = libsystem.c @@ -19,14 +19,14 @@ test_runner_LDADD = \ $(GLIB_LIBS) \ $(GIO_LIBS) -test_xserver_SOURCES = test-xserver.c status.c status.h -test_xserver_CFLAGS = \ +X_SOURCES = X.c status.c status.h +X_CFLAGS = \ $(WARN_CFLAGS) \ $(GOBJECT_CFLAGS) \ $(GLIB_CFLAGS) \ $(GIO_CFLAGS) \ $(GIO_UNIX_CFLAGS) -test_xserver_LDADD = \ +X_LDADD = \ $(GOBJECT_LIBS) \ $(GLIB_LIBS) \ $(GIO_LIBS) \ diff --git a/tests/src/test-xserver.c b/tests/src/X.c index bfb041fa..bfb041fa 100644 --- a/tests/src/test-xserver.c +++ b/tests/src/X.c diff --git a/tests/src/test-runner.c b/tests/src/test-runner.c index 2f61fe5a..512929bd 100644 --- a/tests/src/test-runner.c +++ b/tests/src/test-runner.c @@ -287,7 +287,7 @@ run_commands () xserver_args = g_hash_table_lookup (params, "ARGS"); if (!xserver_args) xserver_args = ""; - command_line = g_strdup_printf ("%s/tests/src/test-xserver %s", BUILDDIR, xserver_args); + command_line = g_strdup_printf ("%s/tests/src/X %s", BUILDDIR, xserver_args); g_debug ("Run %s", command_line); if (!g_shell_parse_argv (command_line, NULL, &argv, &error) || @@ -606,7 +606,6 @@ main (int argc, char **argv) g_string_append (command_line, " --debug"); if (config_path) g_string_append_printf (command_line, " --config %s", config_path); - g_string_append(command_line, " --xserver-command=test-xserver"); if (greeter) g_string_append_printf (command_line, " --greeter-session=%s", greeter); g_string_append (command_line, " --session-wrapper="); |