| 
									
										
										
										
											2017-04-10 11:41:01 +00:00
										 |  |  | #!/usr/bin/env bash
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | scriptRoot="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-07 13:16:24 +00:00
										 |  |  | if [ "$__SkipTests" == "true" ]; then | 
					
						
							|  |  |  |     exit 0 | 
					
						
							|  |  |  | fi | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-10 11:41:01 +00:00
										 |  |  | if [ "$BUILDVARS_DONE" != 1 ]; then | 
					
						
							|  |  |  |     . $scriptRoot/buildvars-setup.sh $* | 
					
						
							|  |  |  | fi | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | pushd ${__ProjectRoot}/tests | 
					
						
							| 
									
										
										
										
											2017-06-07 13:16:24 +00:00
										 |  |  | source ${__ProjectRoot}/tests/runtest.sh $__BuildOS $__BuildArch $__BuildType -cross $__CrossBuild -dotnetclipath $__dotnetclipath | 
					
						
							| 
									
										
										
										
											2017-04-10 11:41:01 +00:00
										 |  |  | TESTERRORLEVEL=$? | 
					
						
							|  |  |  | popd | 
					
						
							|  |  |  | if [ $TESTERRORLEVEL != 0 ]; then | 
					
						
							|  |  |  |     exit $TESTERRORLEVEL | 
					
						
							| 
									
										
										
										
											2017-06-07 13:16:24 +00:00
										 |  |  | fi |