File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ name: Asan Test
44on :
55 push :
66 branches : [ "*" ]
7- pull_request :
8- branches : [ "*" ]
7+ # pull_request:
8+ # branches: [ "*" ]
99
1010concurrency :
1111 group : ${{ github.workflow }}-${{ github.ref }}
Original file line number Diff line number Diff line change @@ -87,10 +87,14 @@ jobs:
8787 # Set up the environment for wolfProvider
8888 source $GITHUB_WORKSPACE/scripts/env-setup
8989 export ${{ matrix.force_fail }}
90-
9190 # Run tests
9291 make test 2>&1 | tee libhashkit2-test.log
93- TEST_RESULT=${PIPESTATUS[0]}
92+ if grep -q "(Failed)" libhashkit2-test.log; then
93+ TEST_RESULT=1
94+ else
95+ TEST_RESULT=0
96+ fi
9497 echo "TEST_RESULT = $TEST_RESULT"
95-
96- #$GITHUB_WORKSPACE/.github/scripts/check-workflow-result.sh $TEST_RESULT ${{ matrix.force_fail }} libp11
98+
99+ $GITHUB_WORKSPACE/.github/scripts/check-workflow-result.sh $TEST_RESULT ${{ matrix.force_fail }} libhashkit2
100+
Original file line number Diff line number Diff line change 8181 cd sssd
8282 git checkout ${{ matrix.sssd_ref }}
8383
84+ # Apply patch for testing
85+ patch -p1 < $GITHUB_WORKSPACE/osp/wolfProvider/sssd/sssd-${{ matrix.sssd_ref }}-wolfprov.patch
86+
8487 # Configure and build SSSD with wolfProvider
8588 autoreconf -ivf
8689 ./configure --without-samba --disable-cifs-idmap-plugin \
@@ -103,9 +106,5 @@ jobs:
103106 # Run tests and save result
104107 make check 2>&1 | tee sssd-test.log
105108 TEST_RESULT=${PIPESTATUS[0]}
106-
107- # TODO: investigate failing test cases
108- # src/tests/whitespace_test (in 2.9.1) and sss_certmap_test (on master)
109- # Capture the test result using PIPESTATUS (Bash only)
110109
111110 $GITHUB_WORKSPACE/.github/scripts/check-workflow-result.sh $TEST_RESULT ${{ matrix.force_fail }} sssd
You can’t perform that action at this time.
0 commit comments