[gimp] app/tests: Improve gimp_test_utils_set_env_to_subdir() hint
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app/tests: Improve gimp_test_utils_set_env_to_subdir() hint
- Date: Tue, 26 Oct 2010 12:15:30 +0000 (UTC)
commit 3d82d40f5b6bec5d688b41000e5da4fc0b4fa129
Author: Martin Nordholts <martinn src gnome org>
Date: Mon Oct 25 20:56:09 2010 +0200
app/tests: Improve gimp_test_utils_set_env_to_subdir() hint
Improve gimp_test_utils_set_env_to_subdir() hint by making it stand
out more from normal gdb output.
app/tests/gimp-app-test-utils.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/app/tests/gimp-app-test-utils.c b/app/tests/gimp-app-test-utils.c
index 6a9af0f..392857c 100644
--- a/app/tests/gimp-app-test-utils.c
+++ b/app/tests/gimp-app-test-utils.c
@@ -39,9 +39,12 @@ gimp_test_utils_set_env_to_subdir (const gchar *root_env_var,
/* Get root dir */
root_dir = g_getenv (root_env_var);
if (! root_dir)
- g_printerr ("The env var %s is not set, you are probably running\n"
- "in a debugger. Set it manually, e.g.:\n"
- "set env %s=%s/source/gimp\n",
+ g_printerr ("*\n"
+ "* The env var %s is not set, you are probably running\n"
+ "* in a debugger. Set it manually, e.g.:\n"
+ "*\n"
+ "* set env %s=%s/source/gimp\n"
+ "*\n",
root_env_var,
root_env_var, g_get_home_dir ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]