mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +00:00 
			
		
		
		
	uiauto/build_scripts: Update to use python3
Ensure we are invoking python3 when attempting to import `wa` and update the printing syntax to be compatible.
This commit is contained in:
		| @@ -32,7 +32,7 @@ fi | ||||
| # Copy base class library from wa dist | ||||
| libs_dir=app/libs | ||||
| mkdir -p $libs_dir | ||||
| base_class=`python -c "import os, wa; print os.path.join(os.path.dirname(wa.__file__), 'framework', 'uiauto', 'uiauto.aar')"` | ||||
| base_class=`python3 -c "import os, wa; print(os.path.join(os.path.dirname(wa.__file__), 'framework', 'uiauto', 'uiauto.aar'))"` | ||||
| cp $base_class $libs_dir | ||||
|  | ||||
| # Build and return appropriate exit code if failed | ||||
|   | ||||
		Reference in New Issue
	
	Block a user