Test script for each available overlay bundle.
This commit is contained in:
		
							parent
							
								
									e7b7764acf
								
							
						
					
					
						commit
						626599c103
					
				
							
								
								
									
										21
									
								
								src/test_overlay_build.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										21
									
								
								src/test_overlay_build.sh
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,21 @@
 | 
				
			|||||||
 | 
					#!/bin/sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# This script tests the build process of each overlay bundle. The idea is to
 | 
				
			||||||
 | 
					# find failing bundles (wrong or outdated build dependencies, broken download
 | 
				
			||||||
 | 
					# links, other simple and stupid failures) and take action accordingly. This
 | 
				
			||||||
 | 
					# script doesn't test the actual functionality of the overlay bundles.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					set -ex
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					cd minimal_overlay
 | 
				
			||||||
 | 
					for bundle in `ls bundles` ; do
 | 
				
			||||||
 | 
					  echo "******************************"
 | 
				
			||||||
 | 
					  echo "***** $bundle TEST BEGIN *****"
 | 
				
			||||||
 | 
					  echo "******************************"
 | 
				
			||||||
 | 
					  ./overlay_clean.sh
 | 
				
			||||||
 | 
					  ./overlay_build.sh $bundle
 | 
				
			||||||
 | 
					  echo "****************************"
 | 
				
			||||||
 | 
					  echo "***** $bundle TEST END *****"  
 | 
				
			||||||
 | 
					  echo "****************************"
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user