zephyr/samples/microkernel/test
Yonattan Louise 63e3a4e772 Fix checkpatch issue - ERROR:ELSE_AFTER_BRACE
The 'else' statement should be in the same line that the
close brace of the 'if' statement. E.g.:

	if (condition) {
		do_this();
		do_that();
	} else {
		otherwise();
	}

This commit fixed this kind of error using the following script:

	#!/bin/bash

	for file in $(find ./ -name "*.[ch]" ! -path "./scripts/*" ! -path "./host/src/wrsconfig/*");
	do
		if [ ! -h $file ];
		then
			sed -i '/^[ \t]*}$/ {
	:review_next_one_too
	N
	s/^\(.*\)\n[ \t]*else/\1 else/
	/}$/ b review_next_one_too
	}' $file;

		fi;
	done

Change-Id: I7e811a572d735fa08e84850055ebbde29eb10e8d
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
2016-02-05 20:13:59 -05:00
..
test_bluetooth Bluetooth: Add arm targets for microkernel sanity test 2016-02-05 20:13:56 -05:00
test_critical Fix coding style issues. 2016-02-05 20:13:59 -05:00
test_events Eliminate unneeded non-public APIs from generated vxmicro.h 2016-02-05 20:13:59 -05:00
test_fifo Fix checkpatch issue - WARNING:LONG_LINE 2016-02-05 20:13:59 -05:00
test_fp_sharing Fix checkpatch issue - ERROR:ELSE_AFTER_BRACE 2016-02-05 20:13:59 -05:00
test_libs Fix coding style issues. 2016-02-05 20:13:59 -05:00
test_mail Fix checkpatch issue - WARNING:LONG_LINE 2016-02-05 20:13:59 -05:00
test_map Remove references to Simics from README.txt files 2016-02-05 20:13:48 -05:00
test_mutex Fix coding style issues. 2016-02-05 20:13:59 -05:00
test_pipe Fix coding style issues. 2016-02-05 20:13:59 -05:00
test_pool Fix coding style issues. 2016-02-05 20:13:59 -05:00
test_secure_string_api Fix checkpatch issue - ERROR:ELSE_AFTER_BRACE 2016-02-05 20:13:59 -05:00
test_sema Fix coding style issues. 2016-02-05 20:13:59 -05:00
test_sprintf Fix coding style issues. 2016-02-05 20:13:59 -05:00
test_stackprot Fix coding style issues. 2016-02-05 20:13:59 -05:00
test_static_idt Fix checkpatch issue - ERROR:ELSE_AFTER_BRACE 2016-02-05 20:13:59 -05:00
test_task Fix coding style issues. 2016-02-05 20:13:59 -05:00
test_task_irq Fix coding style issues. 2016-02-05 20:13:59 -05:00
test_tickless Fix checkpatch issue - ERROR:ELSE_AFTER_BRACE 2016-02-05 20:13:59 -05:00
test_timer Fix coding style issues. 2016-02-05 20:13:59 -05:00
test_xip Fix coding style issues. 2016-02-05 20:13:59 -05:00