Lines Matching refs:ALL_SCRIPT
190 ALL_SCRIPT := $(INSTALL_PATH)/run_kselftest.sh macro
205 echo "#!/bin/sh" > $(ALL_SCRIPT)
206 echo "BASE_DIR=\$$(realpath \$$(dirname \$$0))" >> $(ALL_SCRIPT)
207 echo "cd \$$BASE_DIR" >> $(ALL_SCRIPT)
208 echo ". ./kselftest/runner.sh" >> $(ALL_SCRIPT)
209 echo "ROOT=\$$PWD" >> $(ALL_SCRIPT)
210 echo "if [ \"\$$1\" = \"--summary\" ]; then" >> $(ALL_SCRIPT)
211 echo " logfile=\$$BASE_DIR/output.log" >> $(ALL_SCRIPT)
212 echo " cat /dev/null > \$$logfile" >> $(ALL_SCRIPT)
213 echo "fi" >> $(ALL_SCRIPT)
221 …[ -w /dev/kmsg ] && echo \"kselftest: Running tests in $$TARGET\" >> /dev/kmsg" >> $(ALL_SCRIPT); \
222 echo "cd $$TARGET" >> $(ALL_SCRIPT); \
223 echo -n "run_many" >> $(ALL_SCRIPT); \
225 $(MAKE) -s --no-print-directory OUTPUT=$$BUILD_TARGET -C $$TARGET emit_tests >> $(ALL_SCRIPT); \
226 echo "" >> $(ALL_SCRIPT); \
227 echo "cd \$$ROOT" >> $(ALL_SCRIPT); \
230 chmod u+x $(ALL_SCRIPT)