* rewrite tests to work with meson This ports our tests to meson and makes them able to be run in parallel. * add tests to ci * rewrite test/check-trailing-newlines in bash This test was using a GNU sed command which does not work on Alpine Linux.
		
			
				
	
	
		
			13 lines
		
	
	
		
			373 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			373 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
top_srcdir=${SOURCE_ROOT:-..}
 | 
						|
. ${top_srcdir}/test/setup_env.sh
 | 
						|
 | 
						|
ebegin "Checking trailing whitespace in code"
 | 
						|
# XXX: Should we check man pages too ?
 | 
						|
out=$(cd ${top_srcdir}; find */ \
 | 
						|
	'(' -name '*.[ch]' -o -name '*.in' -o -name '*.sh' ')' \
 | 
						|
	-exec grep -n -E '[[:space:]]+$' {} +)
 | 
						|
[ -z "${out}" ]
 | 
						|
eend $? "Trailing whitespace needs to be deleted:"$'\n'"${out}"
 |