Accepting request 1236247 from network:cluster
- Fix testsuite: Cater for erroneous: `#include </src/[slurm_internal_header]>` statements. (forwarded request 1236246 from eeich) OBS-URL: https://build.opensuse.org/request/show/1236247 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/slurm?expand=0&rev=110
This commit is contained in:
commit
3b4d2235f3
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 9 08:35:38 UTC 2025 - Egbert Eich <eich@suse.com>
|
||||||
|
|
||||||
|
- Fix testsuite:
|
||||||
|
Cater for erroneous: `#include </src/[slurm_internal_header]>`
|
||||||
|
statements.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 6 12:40:31 UTC 2025 - Egbert Eich <eich@suse.com>
|
Mon Jan 6 12:40:31 UTC 2025 - Egbert Eich <eich@suse.com>
|
||||||
|
|
||||||
|
@ -852,7 +852,12 @@ filelist="$(grep '#include' *.c | sed -ne 's/.*:#include *\"\([^\"]*\)\".*/\1/p'
|
|||||||
while true; do
|
while true; do
|
||||||
oldfilelist=$filelist; tlist=""
|
oldfilelist=$filelist; tlist=""
|
||||||
for i in $filelist; do
|
for i in $filelist; do
|
||||||
nlist=" $(grep '#include' ../../$i | sed -ne 's/#include *\"\([^\"]*\)\".*/\1/p')"
|
nlist=" $(grep '#include' ../../$i | sed -ne 's@#include *\"\([^\"]*\)\".*@\1@p')"
|
||||||
|
tlist+=" $(for j in $nlist; do [ -e ../../$j ] && echo $j || true; done)"
|
||||||
|
done
|
||||||
|
# Cater for erroneous: `#include <src/[slurm_internal_header]>`
|
||||||
|
for i in $filelist; do
|
||||||
|
nlist=" $(grep '#include' ../../$i | sed -ne 's@#include *<\(src/\)\([^>]*\)>.*@\1\2@p')"
|
||||||
tlist+=" $(for j in $nlist; do [ -e ../../$j ] && echo $j || true; done)"
|
tlist+=" $(for j in $nlist; do [ -e ../../$j ] && echo $j || true; done)"
|
||||||
done
|
done
|
||||||
filelist="$(for i in $filelist $tlist; do echo $i; done | sort | uniq)"
|
filelist="$(for i in $filelist $tlist; do echo $i; done | sort | uniq)"
|
||||||
|
Loading…
Reference in New Issue
Block a user