mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:52:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			328 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			328 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/Shell
 | |
| 
 | |
| echo
 | |
| echo "==== Running Tests on SerenityOS ===="
 | |
| 
 | |
| export LLVM_PROFILE_FILE="$HOME/profiles/%p-profile.profraw"
 | |
| 
 | |
| run-tests --show-progress=false
 | |
| fail_count=$?
 | |
| 
 | |
| unset LLVM_PROFILE_FILE
 | |
| 
 | |
| echo "Failed: $fail_count" > ./test-results.log
 | |
| 
 | |
| if test $DO_SHUTDOWN_AFTER_TESTS {
 | |
|     sync
 | |
|     shutdown -n
 | |
| }
 | |
| 
 | |
| exit $fail_count
 | 
