You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
	
	
		
			30 lines
		
	
	
		
			818 B
		
	
	
	
		
			Bash
		
	
		
		
			
		
	
	
			30 lines
		
	
	
		
			818 B
		
	
	
	
		
			Bash
		
	
| 
											11 months ago
										 | #!/bin/bash
 | ||
|  | 
 | ||
|  | set -e | ||
|  | 
 | ||
|  | # Get the script path. | ||
|  | script_path=$(dirname "$0") | ||
|  | # Change to the script path. | ||
|  | cd "$script_path" | ||
|  | # Set PYTHONPATH. | ||
|  | cd .. | ||
|  | export PYTHONPATH=`pwd` | ||
|  | echo "PYTHONPATH=$PYTHONPATH" | ||
|  | cd - | ||
|  | 
 | ||
|  | # Run the tests. | ||
|  | export source_dir="../miot/specs" | ||
|  | python3 json_format.py $source_dir/bool_trans.json | ||
|  | python3 json_format.py $source_dir/multi_lang.json | ||
|  | python3 json_format.py $source_dir/spec_filter.json | ||
|  | export source_dir="../miot/i18n" | ||
|  | python3 json_format.py $source_dir/de.json | ||
|  | python3 json_format.py $source_dir/en.json | ||
|  | python3 json_format.py $source_dir/es.json | ||
|  | python3 json_format.py $source_dir/fr.json | ||
|  | python3 json_format.py $source_dir/ja.json | ||
|  | python3 json_format.py $source_dir/ru.json | ||
|  | python3 json_format.py $source_dir/zh-Hans.json | ||
|  | python3 json_format.py $source_dir/zh-Hant.json | ||
|  | python3 rule_format.py |