Skip to content

Commit

Permalink
Merge pull request #92 from webern/testsys-log-level-fix
Browse files Browse the repository at this point in the history
makefile: fix bug with testsys loglevel arg
  • Loading branch information
webern authored Oct 3, 2023
2 parents bca8e8b + b6bd2d6 commit cf47d30
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions twoliter/embedded/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1573,7 +1573,7 @@ script = [
'''
set -eu
export PATH="${TWOLITER_TOOLS_DIR}:${PATH}"
testsys ${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} install
testsys --log-level=${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} install
'''
]

Expand All @@ -1591,7 +1591,7 @@ script = [
export PATH="${TWOLITER_TOOLS_DIR}:${PATH}"
# The ami that is selected from `amis.json` is determined by `TESTSYS_REGION` if set; otherwise,
# it is the first region listed in `Infra.toml` (for aws variants).
testsys ${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} run ${TESTSYS_TEST} \
testsys --log-level=${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} run ${TESTSYS_TEST} \
${testsys_ami_input} \
${TESTSYS_AWS_SECRET_NAME:+--secret ${TESTSYS_AWS_SECRET_NAME}} \
${@}
Expand All @@ -1607,7 +1607,7 @@ script = [
'''
set -eu
export PATH="${TWOLITER_TOOLS_DIR}:${PATH}"
testsys ${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} delete --test ${@}
testsys --log-level=${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} delete --test ${@}
'''
]

Expand All @@ -1617,7 +1617,7 @@ script = [
'''
set -eu
export PATH="${TWOLITER_TOOLS_DIR}:${PATH}"
testsys ${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} delete ${@}
testsys --log-level=${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} delete ${@}
'''
]

Expand All @@ -1627,7 +1627,7 @@ script = [
'''
set -eu
export PATH="${TWOLITER_TOOLS_DIR}:${PATH}"
testsys ${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} uninstall
testsys --log-level=${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} uninstall
'''
]

Expand All @@ -1644,7 +1644,7 @@ script = [
'''
set -eu
export PATH="${TWOLITER_TOOLS_DIR}:${PATH}"
watch -- testsys ${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} status --test ${@}
watch -- testsys --log-level=${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} status --test ${@}
'''
]

Expand All @@ -1656,7 +1656,7 @@ script = [
'''
set -eu
export PATH="${TWOLITER_TOOLS_DIR}:${PATH}"
watch -- testsys ${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} status ${@}
watch -- testsys --log-level=${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} status ${@}
'''
]

Expand All @@ -1667,7 +1667,7 @@ script = [
'''
set -eu
export PATH="${TWOLITER_TOOLS_DIR}:${PATH}"
testsys ${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} logs --test ${@}
testsys --log-level=${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} logs --test ${@}
'''
]

Expand All @@ -1677,7 +1677,7 @@ script = [
'''
set -eu
export PATH="${TWOLITER_TOOLS_DIR}:${PATH}"
testsys ${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} ${@}
testsys --log-level=${TESTSYS_LOG_LEVEL} ${CARGO_MAKE_TESTSYS_ARGS} ${@}
'''
]

Expand Down

0 comments on commit cf47d30

Please sign in to comment.