Stream: t-compiler

Topic: ui can't execute tests only for some targets


gnzlbg (Sep 17 2019 at 11:02, on Zulip):

If I want to execute a test only on x86_64 I need to // ignore-... all other targets and every time a new target is added, that test needs to be updated.

RalfJ (Sep 18 2019 at 09:10, on Zulip):

@gnzlbg there's // only-x86_64

RalfJ (Sep 18 2019 at 09:10, on Zulip):

(this is in the in-tree compiletest for almost 2 years now. the out-of-tree crate hasn't gotten this update yet.)

gnzlbg (Sep 18 2019 at 09:10, on Zulip):

yep, but that's to restrictive

gnzlbg (Sep 18 2019 at 09:11, on Zulip):

I needed to add // only-x86|x86_64

RalfJ (Sep 18 2019 at 09:11, on Zulip):

well it literally runs the test only on x86_64 which is what you asked for?

RalfJ (Sep 18 2019 at 09:11, on Zulip):

ah okay

gnzlbg (Sep 18 2019 at 09:12, on Zulip):

yes, I wasn't aware of // only, but someone raised it up and when I tried I needed to duplicate a lot of tests, so ended up adding or patterns for it

gnzlbg (Sep 18 2019 at 09:12, on Zulip):

thanks for the answer though :)

RalfJ (Sep 18 2019 at 09:15, on Zulip):

thank you for making only more powerful :D

Last update: Nov 22 2019 at 04:40UTC