You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							586 B
						
					
					
				
			
		
		
	
	
							21 lines
						
					
					
						
							586 B
						
					
					
				#!/bin/bash -e
 | 
						|
TEST_FILENAME=${TEST_FILENAME:-nosetests.xml}
 | 
						|
if [ -f "/EON" ]; then
 | 
						|
  TESTSUITE_NAME="Panda_Test-EON"
 | 
						|
else
 | 
						|
  TESTSUITE_NAME="Panda_Test-DEV"
 | 
						|
fi
 | 
						|
 | 
						|
if [ ! -z "${SKIPWIFI}" ] || [ -f "/EON" ]; then
 | 
						|
  TEST_SCRIPTS=$(ls tests/automated/$1*.py | grep -v wifi)
 | 
						|
else
 | 
						|
  TEST_SCRIPTS=$(ls tests/automated/$1*.py)
 | 
						|
fi
 | 
						|
 | 
						|
IFS=$'\n'
 | 
						|
for NAME in $(nmcli --fields NAME con show | grep panda | awk '{$1=$1};1')
 | 
						|
do
 | 
						|
  nmcli connection delete "$NAME"
 | 
						|
done
 | 
						|
 | 
						|
PYTHONPATH="." $(which nosetests) -v --with-xunit --xunit-file=./$TEST_FILENAME --xunit-testsuite-name=$TESTSUITE_NAME -s $TEST_SCRIPTS
 | 
						|
 |