Skip to content

Commit

Permalink
Whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Matevz Morato committed Dec 16, 2024
1 parent 90e131e commit e24eb05
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test.workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
run: |
export RESERVATION_NAME="https://github.com/$GITHUB_REPOSITORY/actions/$GITHUB_RUN_ID-rvc2-${{ matrix.os }}-${{ matrix.flavor }}"
exec hil --capabilities depthai-core-hil --reservation-name $RESERVATION_NAME --wait --sync-workspace --commands 'cd /tmp/depthai-core|| exit' 'scripts/hil/run_hil_tests.sh ${{ matrix.flavor }} --rvc2'
# Testing
# Testing
rvc4_test:
env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
Expand All @@ -78,21 +78,21 @@ jobs:
flavor: 'tsan'
fail-fast: false
runs-on: ['self-hosted', 'testbed-runner']

steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Prepare HIL Framework
run: source scripts/hil/prepare_hil_framework.sh

- name: Configure, Build and Test
if: matrix.os != 'linux'
run: |
export RESERVATION_NAME="https://github.com/$GITHUB_REPOSITORY/actions/$GITHUB_RUN_ID-rvc4-${{ matrix.os }}-${{ matrix.rvc4os }}-${{ matrix.flavor }}""
exec hil --models oak4_pro --reservation-name $RESERVATION_NAME --wait --sync-workspace --commands 'cd /tmp/depthai-core|| exit' 'scripts/hil/run_hil_tests.sh ${{ matrix.flavor }} --rvc4 '
- name: Configure, Build and Test
if: matrix.os == 'linux'
run: |
Expand Down
1 change: 0 additions & 1 deletion cmake/Depthai/DepthaiDeviceRVC4Config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ set(DEPTHAI_DEVICE_RVC4_MATURITY "snapshot")
# "version if applicable"
# set(DEPTHAI_DEVICE_RVC4_VERSION "0.0.1+93f7b75a885aa32f44c5e9f53b74470c49d2b1af")
set(DEPTHAI_DEVICE_RVC4_VERSION "0.0.1+81617bcfe7b7da9eda9654b5b3d3d3254b59a47d")

2 changes: 1 addition & 1 deletion scripts/hil/run_hil_stability.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ pushd /home/$USER/hil_framework/ > /dev/null 2>&1 && pip install -r requirements
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release -D HUNTER_ROOT=$HOME/.hun_vanilla -D DEPTHAI_BUILD_TESTS=ON
cmake --build build --parallel 8 --config Release --target stability_stress_test
cd build
../ci/stability_stress_test_combined.sh 86400
../ci/stability_stress_test_combined.sh 86400
2 changes: 1 addition & 1 deletion tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def compute_or_result(results):

# Filter configurations based on command-line arguments
if args.rvc4==args.rvc2:
test_configs=all_configs
test_configs=all_configs
elif args.rvc4:
test_configs = [config for config in all_configs if "rvc4" in config.get("labels", []) or "onhost" in config.get("labels", [])]
elif args.rvc2:
Expand Down
3 changes: 2 additions & 1 deletion tests/src/ondevice_tests/device_usbspeed_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ TEST_CASE("Usb config modes") {
// speed = dai::UsbSpeed::SUPER_PLUS;
// p.setBoardConfig(cfg.board);
// }
//
//

dai::Device d(p);
REQUIRE(d.getUsbSpeed() == speed);
}

0 comments on commit e24eb05

Please sign in to comment.