test_compile-all: Fix wrong var name
Move test setup code to test_compile-all.sh
chmod +x scripting/tests/test_compile-all.sh
test_compile-all.sh: Escape semicolon
test_compile-all.sh: Add missing sed parameter
Add function stock compilation check