Re: [throwtheswitch] Modify Test Headers

29 views
Skip to first unread message

David Good

unread,
Jul 10, 2024, 11:01:14 AM7/10/24
to throwth...@googlegroups.com
Hey Burak !

I found you're email burried in the spam folder , so it's possible that no one saw it . Were you able to resolve this issue already ?

--David

On Tue, Jun 11, 2024 at 6:38 AM Burak Utku Çeçen <burakut...@gmail.com> wrote:

I have a C module, and the path of this module is under:

:source:
- ../../source/**

I want to modify and use the header file abcdef.h of the source code abcdef.c located in this path.

When compiling the code with my compiler, I want to use the original abcdef.h. When running tests with Ceedling, I want to use my modified abcdef.h because it contains many configurations, and I need to manipulate these to test the code fully.

To solve this, I added my header file to the support folder. I understood that the settings in my support folder are valid before each running test function, but I saw that the old header is used when the related function is called in the test function.

Is there any way to do this?

--
You received this message because you are subscribed to the Google Groups "ThrowTheSwitch Forums" group.
To unsubscribe from this group and stop receiving emails from it, send an email to throwtheswitc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/throwtheswitch/f7421232-b01d-4a04-9719-6a7755d1996en%40googlegroups.com.

Burak Utku Çeçen

unread,
Jul 23, 2024, 6:47:18 AM7/23/24
to ThrowTheSwitch Forums
Hey!

Thanksfor your response. I fixed my issue with using support file.

10 Temmuz 2024 Çarşamba tarihinde saat 18:01:14 UTC+3 itibarıyla David Good şunları yazdı:

David Good

unread,
Jul 23, 2024, 11:01:48 AM7/23/24
to throwth...@googlegroups.com

Great ! How did you fix it ?

--David

Reply all
Reply to author
Forward
0 new messages