diff --git a/.travis.yml b/.travis.yml
index 650bf31f..cca91ddd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -47,9 +47,9 @@ matrix:
script:
- mkdir build
- cd build
- - if [ $USE_CMAKE == "YES" ] ; then cmake ../ ; fi
- - if [ $USE_CMAKE == "NO" ] ; then pushd ../ ; autoreconf -i ; popd; fi
- - if [ $USE_CMAKE == "NO" ] ; then ../configure ; fi
+ - if [ $USE_CMAKE == 'YES' ] ; then cmake .. ; fi
+ - if [ $USE_CMAKE == 'NO' ] ; then pushd .. ; autoreconf -i ; popd; fi
+ - if [ $USE_CMAKE == 'NO' ] ; then ../configure ; fi
- make
- - if [ $USE_CMAKE == "YES" ] ; then CTEST_OUTPUT_ON_FAILURE=1 make test ; fi
- - if [ $USE_CMAKE == "NO" ] ; then make check ; fi
+ - if [ $USE_CMAKE == 'YES' ] ; then CTEST_OUTPUT_ON_FAILURE=1 make test ; fi
+ - if [ $USE_CMAKE == 'NO' ] ; then make check ; fi
diff --git a/src/check.c b/src/check.c
index fa3c5759..7e4427ce 100644
--- a/src/check.c
+++ b/src/check.c
@@ -259,7 +259,8 @@ void _tcase_add_test(TCase * tc, TFun fn, const char *name, int _signal,
tf->loop_start = start;
tf->loop_end = end;
tf->signal = _signal; /* 0 means no signal expected */
- tf->allowed_exit_value = (WEXITSTATUS_MASK & allowed_exit_value); /* 0 is default successful exit */
+ tf->allowed_exit_value =
+ (WEXITSTATUS_MASK & allowed_exit_value); /* 0 is default successful exit */
tf->name = name;
check_list_add_end(tc->tflst, tf);
}
diff --git a/src/check_log.c b/src/check_log.c
index 3b7cb72f..2af83210 100644
--- a/src/check_log.c
+++ b/src/check_log.c
@@ -289,12 +289,12 @@ void xml_lfun(SRunner * sr CK_ATTRIBUTE_UNUSED, FILE * file,
switch (evt)
{
case CLINITLOG_SR:
- fprintf(file, "\n");
fprintf(file,
- "\n");
- fprintf(file,
- "\n");
- fprintf(file, " %s\n", t);
+ "\n"
+ "\n"
+ "\n"
+ " %s\n", t);
break;
case CLENDLOG_SR:
{
@@ -304,17 +304,19 @@ void xml_lfun(SRunner * sr CK_ATTRIBUTE_UNUSED, FILE * file,
/* calculate time the test were running */
clock_gettime(check_get_clockid(), &ts_end);
duration = (unsigned long)DIFF_IN_USEC(ts_start, ts_end);
- fprintf(file, " %lu.%06lu\n",
+ fprintf(file,
+ " %lu.%06lu\n"
+ "\n",
duration / US_PER_SEC, duration % US_PER_SEC);
- fprintf(file, "\n");
}
break;
case CLSTART_SR:
break;
case CLSTART_S:
s = (Suite *)obj;
- fprintf(file, " \n");
- fprintf(file, " ");
+ fprintf(file,
+ " \n"
+ " ");
fprint_xml_esc(file, s->name);
fprintf(file, "\n");
break;
diff --git a/src/check_pack.c b/src/check_pack.c
index 6aa903d7..5c03819b 100644
--- a/src/check_pack.c
+++ b/src/check_pack.c
@@ -33,7 +33,7 @@
#ifndef HAVE_PTHREAD
#define pthread_mutex_lock(arg)
#define pthread_mutex_unlock(arg)
-#define pthread_cleanup_push(f,a) {
+#define pthread_cleanup_push(f, a) {
#define pthread_cleanup_pop(e) }
#endif
diff --git a/src/check_run.c b/src/check_run.c
index 37147650..9539f80d 100644
--- a/src/check_run.c
+++ b/src/check_run.c
@@ -505,7 +505,7 @@ static TestResult *tcase_run_tfun_fork(SRunner * sr, TCase * tc, TF * tfun,
alarm_received = 0;
if(timer_create(check_get_clockid(),
- NULL /* fire SIGALRM if timer expires */ ,
+ NULL /* fire SIGALRM if timer expires */,
&timerid) == 0)
{
/* Set the timer to fire once */