summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-19 11:09:25 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-19 11:09:25 +0200
commit8dbd1fb9d4ecdd686dac13fb64f7af02480ea849 (patch)
treea011c42d9a552b8b02e7210aeefa04a4547b8389 /tests
parent9ad062d0b30f307cd5045ba03eeb7d2fa90487b0 (diff)
lib/drmtest: igt_skip when drm_get_card fails
Also add printf support to igt_skip to make sure there's always a reason why we fail a testcase. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests')
-rw-r--r--tests/gem_ctx_create.c5
-rw-r--r--tests/gem_seqno_wrap.c1
-rw-r--r--tests/kms_flip.c2
3 files changed, 2 insertions, 6 deletions
diff --git a/tests/gem_ctx_create.c b/tests/gem_ctx_create.c
index f451910f..f22522b8 100644
--- a/tests/gem_ctx_create.c
+++ b/tests/gem_ctx_create.c
@@ -51,9 +51,8 @@ int main(int argc, char *argv[])
ret = drmIoctl(fd, CONTEXT_CREATE_IOCTL, &create);
if (ret != 0 && (errno == ENODEV || errno == EINVAL)) {
- printf("Kernel is too old, or contexts not supported: %s\n",
- strerror(errno));
- igt_skip();
+ igt_skip("Kernel is too old, or contexts not supported: %s\n",
+ strerror(errno));
} else if (ret != 0) {
fprintf(stderr, "%s\n", strerror(errno));
igt_fail(1);
diff --git a/tests/gem_seqno_wrap.c b/tests/gem_seqno_wrap.c
index 0f7e52bb..84170089 100644
--- a/tests/gem_seqno_wrap.c
+++ b/tests/gem_seqno_wrap.c
@@ -644,7 +644,6 @@ int main(int argc, char **argv)
parse_options(argc, argv);
card_index = drm_get_card();
- igt_assert(card_index != -1);
srandom(time(NULL));
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index fe85dcb0..cb9ccd1b 100644
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -628,8 +628,6 @@ static void hang_gpu(struct test_output *o)
int fd;
ssize_t r;
- igt_assert(card_index != -1);
-
snprintf(fname, FILENAME_MAX, "%s/%i/%s",
dfs_base, card_index, dfs_entry);
-1'>libreoffice-5-0-1 Unnamed repository; edit this file to name it for gitweb.root
summaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2017-11-02update translations for 5.4.3 rc2libreoffice-5-4-3Christian Lohmaier160-3171/+3170
2017-10-17Version 5.4.3.1, tag libreoffice-5.4.3.1libreoffice-5.4.3.1Christian Lohmaier0-0/+0
2017-10-17Branch libreoffice-5-4-3Christian Lohmaier0-0/+0
2017-10-17update translations for 5.4.3 rc1Christian Lohmaier240-4709/+4703
2017-09-27update translations for 5.4.2 rc2Christian Lohmaier1409-10767/+16932
2017-09-14update templates for 5.4.2 rc1Christian Lohmaier459-9237/+9200
2017-08-24update translations for 5.4.1 rc2Christian Lohmaier251-4507/+4595
2017-08-21Updated Slovenian translationAndras Timar9-13011/+10554
2017-08-11update Slovenian fileChristian Lohmaier1-768/+768
2017-08-11update translations for 5.4.1 rc1Christian Lohmaier698-13467/+13003
2017-07-21update translations for 5.4.0 rc3Christian Lohmaier1108-38317/+16884
2017-07-12update translationsChristian Lohmaier2594-331497/+1139518
2017-07-07Updated Slovenian translationAndras Timar13-454/+86
2017-07-05update translations for 5.4.0 rc2Christian Lohmaier1025-19928/+19630
2017-06-28Updated Slovenian translationAndras Timar14-167/+188
2017-06-21update translations for 5.4.0 rc1Christian Lohmaier2303-30404/+119065
2017-06-20Updated Slovenian translationAndras Timar18-250/+603
2017-06-16Updated Slovenian translationsAndras Timar25-63/+843
2017-06-12Updated Slovenian translationAndras Timar27-542/+957
2017-06-07update translations for 5.4.0 Beta2Christian Lohmaier2407-224787/+160713
2017-05-30Updated Slovenian translationAndras Timar32-3785/+1872
2017-05-28update translations for 5.4Christian Lohmaier1033-13217/+284036
2017-05-22Updated Slovenian translationAndras Timar15-99/+303
2017-05-21Updated Slovenian translationAndras Timar65-23993/+1266
2017-05-18Branch libreoffice-5-4Christian Lohmaier0-0/+0
2017-05-18another update of translations for 5.4.0 beta1libreoffice-5-4-branch-pointChristian Lohmaier2416-205688/+167204
2017-05-16update translations for 5.4.0 beta1Christian Lohmaier4959-2035502/+418527
2017-05-15Updated Slovenian translationAndras Timar15-666/+597
2017-05-08Typo, missing "emph>"Stephan Bergmann1-1/+1
2017-05-04Updated Slovenian translationAndras Timar14-1116/+982
2017-04-28update translations for 5.4.0 alpha1Christian Lohmaier14058-2851526/+1906574
2017-04-26Updated Slovenian translationAndras Timar9-855/+403
2017-04-24Updated Slovenian translationAndras Timar24-51/+149
2017-04-24Updated Slovenian translationAndras Timar61-2277/+4437
2017-04-11Updated Slovenian translationAndras Timar154-16962/+8515
2017-03-29update translations for 5.3.2 rc2Christian Lohmaier435-7270/+7253
2017-03-16update translations for 5.3.2 rc1Christian Lohmaier250-5537/+5490
2017-03-07update translations for 5.3.1 rc2Christian Lohmaier180-3786/+3755
2017-02-28update translations for 5.3.1 rc2Christian Lohmaier449-9305/+9232
2017-02-20update translations for 5.3.1 rc1Christian Lohmaier364-7615/+7592
2017-02-16update translations for 5.3.1 rc1Christian Lohmaier362-6308/+6292
2017-01-26update translations for 5.3.0 rc3Christian Lohmaier1010-24017/+23493
2017-01-16update templates for 5.3.0 rc2Christian Lohmaier500-12663/+12333
2017-01-10update translationsChristian Lohmaier3151-126684/+127836
2016-12-10update translations for 5.3.0 beta2Christian Lohmaier4249-477403/+364911
2016-11-23update translations for 5.3.0 beta1libreoffice-5-3-branch-pointChristian Lohmaier