diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-11-20 12:02:33 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-11-20 16:46:47 -0500 |
commit | 9cbcc60997b3d9fd6c5c17f956bc90aac1abba70 (patch) | |
tree | ad9434afd0fc57c2d52070ec93c8c4d1bdcbaf1b /server/tests/files-tests.c | |
parent | 2fb0f364394e412acb8e47bcf3f166dbabb79b28 (diff) | |
download | sssd-9cbcc60997b3d9fd6c5c17f956bc90aac1abba70.tar.gz sssd-9cbcc60997b3d9fd6c5c17f956bc90aac1abba70.tar.bz2 sssd-9cbcc60997b3d9fd6c5c17f956bc90aac1abba70.zip |
Only display errors in unit tests
If you want to turn verbosity back on, just set the environment
variable CK_VERBOSITY=verbose
Diffstat (limited to 'server/tests/files-tests.c')
-rw-r--r-- | server/tests/files-tests.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/files-tests.c b/server/tests/files-tests.c index bc346ba5..90b97177 100644 --- a/server/tests/files-tests.c +++ b/server/tests/files-tests.c @@ -314,7 +314,8 @@ int main(int argc, char *argv[]) Suite *s = files_suite(); SRunner *sr = srunner_create(s); - srunner_run_all(sr, CK_NORMAL); + /* If CK_VERBOSITY is set, use that, otherwise it defaults to CK_NORMAL */ + srunner_run_all(sr, CK_ENV); number_failed = srunner_ntests_failed(sr); srunner_free(sr); return (number_failed == 0) ? EXIT_SUCCESS : EXIT_FAILURE; |