xref: /DADK/tests/data/apps/app_normal_with_env/build.sh (revision 820df76286f71ecfa36e75bd5f934ca78da16cb8)
1*820df762SLoGinecho "app_normal_with_env: build"
2*820df762SLoGin# 判断CC环境变量是否为'abc-gcc'
3*820df762SLoGinif [ "$CC" != "abc-gcc" ]; then
4*820df762SLoGin    echo "CC is not abc-gcc"
5*820df762SLoGin    exit 1
6*820df762SLoGinelse
7*820df762SLoGin    echo "[OK]: CC is abc-gcc"
8*820df762SLoGinfi
9*820df762SLoGin
10