Skip to content

Commit

Permalink
[guest-test][tdx_osv_sanity] Test Enhance: revise tdx_osv_sanity test…
Browse files Browse the repository at this point in the history
… to support $FEATURE_PATH framework change

revise tdx_osv_sanity test under lkvs to support $FEATURE_PATH framework change

[Test Components] tdx_osv_sanity
[Test Types] any
[Supported Devices] spr,emr,gnr,srf

Signed-off-by: Hongyu Ning <[email protected]>
  • Loading branch information
hongyuni committed Feb 2, 2024
1 parent 62d8e2b commit bd1cacc
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
4 changes: 0 additions & 4 deletions guest-test/tdx_osv_sanity/test_2.1.1.4

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
SCRIPT_DIR_LOCAL="$( cd "$( dirname "$0" )" && pwd )"
echo "$SCRIPT_DIR_LOCAL"
# get test scenario config for $FEATURE tdx test_executor
source "$SCRIPT_DIR_LOCAL"/../test_params.py
source "$SCRIPT_DIR_LOCAL"/../guest-test/test_params.py
## end of common variables example ##

###################### Functions ######################
Expand All @@ -25,7 +25,7 @@ source "$SCRIPT_DIR_LOCAL"/../test_params.py
###################### Do Works ######################
## common works example ##
cd "$(dirname "$0")" 2>/dev/null || exit 1
source ../../.env
source ../.env

# get test_executor common functions:
# function based on sshpass to scp common.sh and $1 test_script.sh to Guest VM
Expand Down
4 changes: 4 additions & 0 deletions tdx_osv_sanity/test_2.1.1.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Create TDX guest with default qemu config and check TSC value on guest
guest.test_launcher.sh -v 1 -s 1 -m 4 -d on -t tdx -e tdx_osv_sanity -f tdx_osv_sanity -x TD_TSC_DEFAULT -p off -i "../tdx_osv_sanity/common.json" -j "tdx_osv_sanity/qemu.config.default.json"
# Create TDX guest with tsc-freq specified qemu config and check TSC value on guest
guest.test_launcher.sh -v 1 -s 1 -m 4 -d on -t tdx -e tdx_osv_sanity -f tdx_osv_sanity -x TD_TSC_CONFIG -p off -i "../tdx_osv_sanity/common.json" -j "tdx_osv_sanity/qemu.config.tsc.json"

0 comments on commit bd1cacc

Please sign in to comment.