group sip tests in a directory

This commit is contained in:
Denis Rouzaud 2022-03-01 11:29:33 +01:00
parent b7ba1a70b5
commit 1c3554971a
6 changed files with 5 additions and 5 deletions

View File

@ -194,11 +194,11 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Sip Checks - name: Sip Checks
run: ./tests/code_layout/test_sipify.sh run: ./tests/code_layout/sipify/test_sipify.sh
- name: Sip Include Test - name: Sip Include Test
run: ./tests/code_layout/test_sip_include.sh run: ./tests/code_layout/sipify/test_sip_include.sh
- name: Sip Files Up To Date - name: Sip Files Up To Date
run: ./tests/code_layout/test_sipfiles.sh run: ./tests/code_layout/sipify/test_sipfiles.sh
cppcheck_18_04: cppcheck_18_04:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04

View File

@ -1,7 +1,7 @@
/************************************************************************ /************************************************************************
* This file has been generated automatically from * * This file has been generated automatically from *
* * * *
* tests/code_layout/sipifyheader.h * * tests/code_layout/sipify/sipifyheader.h *
* * * *
* Do not edit manually ! Edit header and run scripts/sipify.pl again * * Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/ ************************************************************************/

View File

@ -7,7 +7,7 @@ srcdir=$(dirname $0)/../../
DIR=$(git -C ${srcdir} rev-parse --show-toplevel) DIR=$(git -C ${srcdir} rev-parse --show-toplevel)
pushd ${DIR} > /dev/null || exit pushd ${DIR} > /dev/null || exit
outdiff=$(./scripts/sipify.pl tests/code_layout/sipifyheader.h | diff tests/code_layout/sipifyheader.expected.sip -) outdiff=$(./scripts/sipify.pl tests/code_layout/sipify/sipifyheader.h | diff tests/code_layout/sipify/sipifyheader.expected.sip -)
popd > /dev/null || exit popd > /dev/null || exit
if [[ $outdiff ]]; then if [[ $outdiff ]]; then