# This mimics the top-level Makefile. We do it explicitly here so that this
# Makefile can operate with or without the kbuild infrastructure.
CC := $(CROSS_COMPILE)gcc

define RUN_TESTS
	@for TEST in $(TEST_PROGS); do \
		(./$$TEST && echo "selftests: $$TEST [PASS]") || echo "selftests: $$TEST [FAIL]"; \
	done;
endef

run_tests: all
	$(RUN_TESTS)

define INSTALL_RULE
	@if [ "X$(TEST_PROGS)$(TEST_PROGS_EXTENDED)$(TEST_FILES)" != "X" ]; then					\
		mkdir -p ${INSTALL_PATH};										\
		echo "rsync -a $(TEST_DIRS) $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(INSTALL_PATH)/";	\
		rsync -a $(TEST_DIRS) $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(INSTALL_PATH)/;		\
	fi
endef

install: all
ifdef INSTALL_PATH
	$(INSTALL_RULE)
else
	$(error Error: set INSTALL_PATH to use install)
endif

define EMIT_TESTS
	@for TEST in $(TEST_PROGS); do \
		echo "(./$$TEST && echo \"selftests: $$TEST [PASS]\") || echo \"selftests: $$TEST [FAIL]\""; \
	done;
endef

emit_tests:
	$(EMIT_TESTS)

.PHONY: run_tests all clean install emit_tests
maclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=1a2a14444d32b89b28116daea86f63ced1716668'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/pci/trident/trident_memory.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/pci/trident/trident_memory.c?id=1a2a14444d32b89b28116daea86f63ced1716668'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/pci/trident/trident_memory.c?id=1a2a14444d32b89b28116daea86f63ced1716668'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/pci/trident/trident_memory.c?id=1a2a14444d32b89b28116daea86f63ced1716668'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/pci/trident/trident_memory.c'>
<input type='hidden' name='id' value='1a2a14444d32b89b28116daea86f63ced1716668'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=1a2a14444d32b89b28116daea86f63ced1716668'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?id=1a2a14444d32b89b28116daea86f63ced1716668'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci?id=1a2a14444d32b89b28116daea86f63ced1716668'>pci</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/trident?id=1a2a14444d32b89b28116daea86f63ced1716668'>trident</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/trident/trident_memory.c?id=1a2a14444d32b89b28116daea86f63ced1716668'>trident_memory.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/trident/trident_memory.c?id=1a2a14444d32b89b28116daea86f63ced1716668&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>