mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 06:22:46 +00:00 
			
		
		
		
	 424eca24ba
			
		
	
	
		424eca24ba
		
	
	
	
	
		
			
			Instead of managing a large list of tests to skip as we break aarch64, simply don't run any userspace tests. We need to keep a smoke test going so that we don't break aarch64 boot with new Kernel changes and new drivers.
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			514 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			514 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/Shell
 | |
| # shellcheck disable=all
 | |
| 
 | |
| echo
 | |
| echo "==== Running Tests on SerenityOS ===="
 | |
| 
 | |
| echo "architecture is: >>$(uname -m)<<"
 | |
| if [ "$(uname -m)" = "AArch64" ] && [ "$1" != "--force" ] {
 | |
|     fail_count=0
 | |
| }
 | |
| else {
 | |
|     export LLVM_PROFILE_FILE="$HOME/profiles/%p-profile.profraw"
 | |
|     run-tests --show-progress=false --unlink-coredumps
 | |
|     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
 |