BMW IDC23 (IDC23H) next-generation infotainment head unit developed as Harman Becker/Garmin JV — GEN22 platform. Source: git@cc-github.bmwgroup.net:icgen5/idc-project.git Branch: master (gen22 release line) Submodules pinned at gen22-11.8.0-internal-rc (April 2021) Components: - ioc: I/O Controller (AUTOSAR, CommonAPI) - hmi: HMI framework (Qt/QML-based cluster graphics) - ic-hmi: Instrument Cluster HMI - sqhmi: Safety-Qualified HMI - hudd: Head-Up Display driver - muniic: Multi-NIC communication - fubi: Functional Bus (check control, DIM, ECI, ELC, ERM, BC, CBS, CC, ATP) - ramses: Runtimes for Adaptive AUTOSAR Middleware Services - cidd: CID Driver (SP21) - safegfxcmp: Safety GFX comparison - sim-gc: Simulation Graphics Compositor - sim-ui: UI Simulation harness - idc-app: Application layer - bin: Build toolchains (excluded from git) Build system: CMake + doit (Python task runner) Toolchain: GHS ARM32 for AUTOSAR, MSVC/Ninja for unittest CI: Zuul (zuul.d/) + stale-branch management
36 lines
1.2 KiB
Batchfile
36 lines
1.2 KiB
Batchfile
@echo off
|
|
|
|
@REM Run once the setup of (icci) environment and set up VS as UT compiler
|
|
IF NOT DEFINED UT_FIRSTRUN_VS (
|
|
call %~dp0.\..\..\util\icci-common\scripts\prepare-tools.bat %*
|
|
call doit xpc variant=Unittest
|
|
call "c:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
set CC=CL
|
|
set CXX=CL
|
|
set "LLVM_BIN=C:\Program Files\LLVM\bin"
|
|
set LM_LICENSE_FILE=30307@ls_rb_testwelld_ww_1.conti.de
|
|
set UT_FIRSTRUN_VS=true
|
|
)
|
|
|
|
|
|
@REM call rmdir cmake-Unittest-ninja cmake-Unittest-ninja-cl metrics doit /Q /S
|
|
|
|
|
|
|
|
@REM call doit cmake --coverage --generator=Ninja --unittest-include-dir="ioc/repo" --coverage-include-dir="ioc/repo/pkg/lifecycle_master" variant=Unittest
|
|
call doit cmake --coverage --generator=Ninja --unittest-include-dir=ioc --coverage-include-dir=ioc variant=Unittest -DCONTI_IOC_STANDALONE=ON
|
|
|
|
@REM If called with an argument will run that module's UT, else it'll run all UT
|
|
if [%1]==[] (
|
|
pushd %~dp0.\..\..\bin\cmake-Unittest-ninja-cl
|
|
call ninja run_gtf_reports__all
|
|
popd
|
|
@REM call doit build -t run_unittest__all
|
|
) else (
|
|
pushd %~dp0.\..\..\bin\cmake-Unittest-ninja-cl
|
|
call ninja module_reports %1
|
|
popd
|
|
@REM call doit build -t run_unittest_%1
|
|
)
|
|
|
|
|