Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename non-debug to non-release #272

Merged
merged 1 commit into from
May 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .azure-pipelines/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ fi
# Initialize the variables.
if [[ "$build_mode" == "debug" ]]; then
make_args="DEBUG=true"
elif [[ "$build_mode" == "nondebug" ]]; then
make_args="DEBUG=false"
elif [[ "$build_mode" == "nonrelease" ]]; then
make_args=""
else
echo "unknown build_mode: $build_mode"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion .azure-pipelines/scripts/create_standalone_deb_pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if [ -z $SGXLKL_PREFIX ]; then
fi

if [ -z $SGXLKL_BUILD_MODE ]; then
echo "ERROR: 'SGXLKL_BUILD_MODE' is undefined. Please export SGXLKL_BUILD_MODE=<debug|nondebug>"
echo "ERROR: 'SGXLKL_BUILD_MODE' is undefined. Please export SGXLKL_BUILD_MODE=<debug|nonrelease>"
exit 1
fi

Expand Down
4 changes: 2 additions & 2 deletions .azure-pipelines/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ parameters:
# Names must not have dashes as job names cannot have them.
# NOTE: When changing this list, also change install_prefix_mapping.
- debug
- nondebug
- nonrelease
- name: 'run_modes'
type: object
default:
Expand All @@ -32,7 +32,7 @@ parameters:
type: object
default:
debug: /opt/sgx-lkl-debug
nondebug: /opt/sgx-lkl-nondebug
nonrelease: /opt/sgx-lkl-nonrelease
- name: 'test_pool_mapping'
type: object
default:
Expand Down
4 changes: 2 additions & 2 deletions tests/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ else
ifeq (${SGXLKL_BUILD_MODE},)
ifeq (${SGXLKL_PREFIX},/opt/sgx-lkl-debug)
export SGXLKL_BUILD_MODE=debug
else ifeq (${SGXLKL_PREFIX},/opt/sgx-lkl-nondebug)
export SGXLKL_BUILD_MODE=nondebug
else ifeq (${SGXLKL_PREFIX},/opt/sgx-lkl-nonrelease)
export SGXLKL_BUILD_MODE=nonrelease
else
$(error SGXLKL_BUILD_MODE not set and SGXLKL_PREFIX is not a standard path)
endif
Expand Down
2 changes: 1 addition & 1 deletion tests/ltp/run_ltp_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ csv_filename="sgxlkl_oe_ltp_test_result_$(date +%d%m%y_%H%M%S).csv"
echo "SI No, Test Name, Stdout logfile name, Stderr logfile name, Execution Status" > $csv_filename

report_dir="report"
# Delete all files except ltp-batch(debug).* or ltp-batch(nondebug).*
# Delete all files except ltp-batch(debug).* or ltp-batch(nonrelease).*
# Don't delete files that has paranthesis in file name
# Deleting this file causes problem in the parent test_runner.sh script
if [ -d $report_dir ]
Expand Down
2 changes: 1 addition & 1 deletion tools/sgx-lkl-docker
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function usage() {
echo " --name=<name> Name of Docker image to be created."
echo " --host-cfg=<path> Path to host configuration file."
echo " --app-cfg=<path> Path to app configuration file."
echo " --mode=<debug|nondebug> Select the deployment mode of SGX-LKL (default: debug)"
echo " --mode=<debug|nonrelease> Select the deployment mode of SGX-LKL (default: debug)"
echo
echo " [-?] Display this help message."
exit 1
Expand Down