[totem-pl-parser] tests: Don't error out on build systems
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser] tests: Don't error out on build systems
- Date: Tue, 21 Aug 2012 18:30:14 +0000 (UTC)
commit 35023f735118c01427a53dd572194dd34eaaf298
Author: Bastien Nocera <hadess hadess net>
Date: Tue Aug 21 19:29:59 2012 +0100
tests: Don't error out on build systems
plparse/tests/disc.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plparse/tests/disc.c b/plparse/tests/disc.c
index afa390b..f58d728 100644
--- a/plparse/tests/disc.c
+++ b/plparse/tests/disc.c
@@ -122,6 +122,10 @@ main (int argc, char *argv[])
}
if (device_paths == NULL) {
+ /* Don't want to error during check on some other machines */
+ if (g_strcmp0 (g_get_user_name (), "hadess") != 0)
+ return;
+
/* We need to handle log messages produced by g_message so they're interpreted correctly by the GTester framework */
g_log_set_handler (NULL, G_LOG_LEVEL_MESSAGE | G_LOG_LEVEL_INFO | G_LOG_LEVEL_DEBUG, log_handler, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]