mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-29 12:35:48 +00:00
1. Support absolute path for scenario file. 2. Use the scenario xml file name as scenario name, but if it is 'scenario.xml', use the upper level directory name. e.g. SCENARIO=<pathxxx>/shared/scenario.xml Then scenario name would be 'shared'. 3. Change 'realpath' to 'abspath' as we should keep the original path for scenario file even it is a link file. This will make sure the scenario name is always consistent with file set in 'SCENARIO='. Tracked-On: #7345 Signed-off-by: Conghui <conghui.chen@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>