File size: 665 Bytes
ef0b17d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env bash
set -uo pipefail
HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
source "$HERE/configs/paths.sh"
source "$HERE/examples/_common.sh"

IMG="$HERE/examples/images/desk_banana.png"
OUT="$HERE/outputs/smoke"

ovow_preflight 0 || exit 1

echo "=== OVOW smoke test (image): $IMG ==="
bash "$HERE/scripts/run_image.sh" --image "$IMG" --out "$OUT" 1 2 6 7 14 17 18
rc=$?

if [[ $rc -ne 0 ]]; then
  echo "=== 失败(exit $rc):按上方日志定位;常见问题见 README「故障排查」 ==="
  exit $rc
fi

ovow_verify_artifacts "$OUT" png || exit 1
echo "=== 完成:产物在 $OUT/(运行目录为 image_pipeline_<时间戳>/desk_banana/)==="