From: "Martin Storsjö" <martin@martin.st> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: Re: [FFmpeg-devel] [PATCH] fate.sh: Allow overriding what targets to make for running the tests Date: Thu, 30 Nov 2023 17:34:31 +0200 (EET) Message-ID: <e090e67a-c1e5-ad78-a061-fd1346527844@martin.st> (raw) In-Reply-To: <47989800-7A13-402C-964E-004E007E81BC@remlab.net> On Thu, 30 Nov 2023, Rémi Denis-Courmont wrote: > Le 27 novembre 2023 23:55:18 GMT+02:00, "Martin Storsjö" <martin@martin.st> a écrit : >> On Mon, 27 Nov 2023, Rémi Denis-Courmont wrote: >> >>> Le maanantaina 27. marraskuuta 2023, 14.31.18 EET Martin Storsjö a écrit : >>>> This can be useful if doing testing of uncommon CPU extensions by >>>> running tests with QEMU (by configuring with e.g. >>>> "target_exec=qemu-aarch64"), by only running the checkasm tests, >>>> to get a reasonable test coverage without excessive test runtime. >>> >>> For the purpose of testing future or bleeding-edge CPU extensions on emulator, you would normally want to be able to actually filter those in. That is more of a matter of patching checkasm than FATE. >> >> Sorry, can you elaborate on what you mean with "filter those in" here? > > You're running all checkasm tests, not just those that require the > emulator. > > But what's potentially much worse is that you're triggering a whole > build, or it's not entirely clear from the description how you'd reuse > an existing build. Yeah, I wouldn't reuse an existing build here. For the setup I have in mind, one build doesn't take too horribly long (either on an old desktop x86 machine, or a moderate aarch64 server) - so it's not ideal but not a dealbreaker anyway (while running all of fate with qemu takes one magnitude longer). For the other setup I intended to test, to test AArch64 PAC and BTI, I would do a separate build with -mbranch-protection=standard anyway. > For Armv8, that's just bad. For RV, that's terrible, as we need to run > the same checkasm with different emulator configuration (different > $QEMU_CPU in the case of QEMU): one per vector length. Armv9 will > potentially have the same problem if FFmpeg grows SVE(2) support. Yes, for SVE I would ideally like to test all vector lengths (I did such a setup for x264 recently, when someone was proposing some SVE codepaths). I don't have a neat idea for how to integrate that into FATE, and this patch doesn't buy us that indeed. But running tests with the default QEMU settings would at least test with a larger vector length than the usual, so it would provide at least some coverage. Not exhaustive, but at least something. So the setup I have in mind wouldn't cover all those cases, but it would at least fix some current gaps in testing coverage. I guess it's a case of whether we should let perfect be the enemy of good; adding this lets us easily add a fair bit of more coverage, in particular of the (new) handwritten asm. And it shouldn't get in the way of doing other better solutions at a later point. // Martin _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2023-11-30 15:34 UTC|newest] Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-11-27 12:31 Martin Storsjö 2023-11-27 15:46 ` Rémi Denis-Courmont 2023-11-27 21:55 ` Martin Storsjö 2023-11-30 11:05 ` Martin Storsjö 2023-11-30 14:23 ` Rémi Denis-Courmont 2023-11-30 15:34 ` Martin Storsjö [this message] 2023-11-30 16:03 ` Rémi Denis-Courmont 2023-11-30 16:28 ` Martin Storsjö 2023-11-30 17:37 ` Rémi Denis-Courmont 2023-11-30 21:13 ` Martin Storsjö 2023-12-01 7:36 ` Rémi Denis-Courmont 2023-12-01 7:55 ` Martin Storsjö 2023-12-01 12:06 ` Rémi Denis-Courmont 2023-11-27 22:10 ` Alexander Strasser 2023-11-27 23:22 ` Michael Niedermayer 2023-11-28 7:27 ` Rémi Denis-Courmont 2023-11-28 14:21 ` Michael Niedermayer 2023-11-30 15:52 ` Rémi Denis-Courmont
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=e090e67a-c1e5-ad78-a061-fd1346527844@martin.st \ --to=martin@martin.st \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git