Skip to content

Commit

Permalink
tests: fix is_ci logic emulator_test.vv
Browse files Browse the repository at this point in the history
  • Loading branch information
larpon authored Sep 27, 2024
1 parent feecff6 commit d8c579b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/at-runtime/emulator/emulator_test.vv
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const vab_test_avd = 'vab_emulator_tests'

const env_is_managable = env.managable()

const is_ci = os.getenv('CI')
const is_ci = os.getenv('CI') != ''

fn test_run_on_emulator() {
ensure_env()
Expand All @@ -22,7 +22,7 @@ fn test_run_on_emulator() {
emu.start(
verbosity: 3
await_boot: true
visible: is_ci == '' // show window on desktop
visible: !is_ci // show window on desktop
avd: vab_test_avd
// acceleration: 'off'
)!
Expand Down

0 comments on commit d8c579b

Please sign in to comment.