]> gcc.gnu.org Git - gcc.git/commit
bpf: testsuite: fix unresolved test in memset-1.c
authorDavid Faust <david.faust@oracle.com>
Thu, 7 Mar 2024 17:23:38 +0000 (09:23 -0800)
committerDavid Faust <david.faust@oracle.com>
Fri, 8 Mar 2024 16:50:01 +0000 (08:50 -0800)
commit10c609191c4462133d6a4ea10a739167204f2cd3
treee98180465a5206bd11c025936ba7e9f24e50b5ae
parent84fc8f4f3263d66503663bb784b58b49dd714dd9
bpf: testsuite: fix unresolved test in memset-1.c

The test was trying to do too much by both checking for an error, and
checking the resulting assembly. Of course, due to the error no asm was
produced, so the scan-asm went unresolved. Split it into two separate
tests to fix the issue.

gcc/testsuite/

* gcc.target/bpf/memset-1.c: Move error test case to...
* gcc.target/bpf/memset-2.c: ... here. New test.
gcc/testsuite/gcc.target/bpf/memset-1.c
gcc/testsuite/gcc.target/bpf/memset-2.c [new file with mode: 0644]
This page took 0.0627220000000001 seconds and 5 git commands to generate.