Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #138260
| Newsgroups | comp.lang.c |
|---|---|
| Date | 2018-11-26 07:20 -0800 |
| References | (6 earlier) <slrnpvdok2.1p1h.grahn+nntp@frailea.sa.invalid> <2c2c2316-e3b3-4505-aca7-e5a15677b29f@googlegroups.com> <slrnpvhpn7.1p1h.grahn+nntp@frailea.sa.invalid> <acd251f4-d157-46d7-a8a4-d43f27f01df3@googlegroups.com> <slrnpvii7r.1p1h.grahn+nntp@frailea.sa.invalid> |
| Message-ID | <82cdf399-e7c6-4d69-b2ff-c8e75508b989@googlegroups.com> (permalink) |
| Subject | Re: Unit test in C and breaking dependencies |
| From | Chad <cdalten@gmail.com> |
On Saturday, November 24, 2018 at 4:50:14 AM UTC-8, Jorgen Grahn wrote: > On Sat, 2018-11-24, Chad wrote: > > Maybe I'm missing something, but what happens if the machine that > > you're writing and testing a piece of had uses a different version > > of the library than the target machine? In that case, you would need > > two different programs. > > You have to explain better what you're getting at. You're responding > to a posting I wrote, although you didn't quote any of it. But I only > described the mechanism I use for building a piece of software and its > unit tests. > > It's true that I didn't bring cross-compilation into the picture. Yeah, I meant to say cross-compilation. > > > And this is totally realistic because I've written code for a > > production machine that uses code written that was written 14 years > > earlier. > > I cannot decipher that sentence. > I *think* this is going outside the scope of Standard C, but when I write code for an embedded device that connects to a remote server, I need a test and production piece of software. This is because I need to add additional code to make the debugger work with the 1998 machine. But when I run the actual code, this debugging code needs to be stripped before the machine will electronically sign my code to ensure that it was me who wrote the code.
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Unit test in C and breaking dependencies pozz <pozzugno@gmail.com> - 2018-11-20 14:22 +0100
Re: Unit test in C and breaking dependencies James Kuyper <jameskuyper@alumni.caltech.edu> - 2018-11-20 09:07 -0500
Re: Unit test in C and breaking dependencies Thiago Adams <thiago.adams@gmail.com> - 2018-11-21 04:38 -0800
Re: Unit test in C and breaking dependencies Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-11-21 12:59 +0000
Re: Unit test in C and breaking dependencies Thiago Adams <thiago.adams@gmail.com> - 2018-11-21 05:35 -0800
Re: Unit test in C and breaking dependencies Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-11-21 20:50 +0000
Re: Unit test in C and breaking dependencies Thiago Adams <thiago.adams@gmail.com> - 2018-11-22 04:10 -0800
Re: Unit test in C and breaking dependencies Anton Shepelev <anton.txt@g{oogle}mail.com> - 2018-11-22 15:30 +0300
Re: Unit test in C and breaking dependencies Thiago Adams <thiago.adams@gmail.com> - 2018-11-22 04:44 -0800
Re: Unit test in C and breaking dependencies Thiago Adams <thiago.adams@gmail.com> - 2018-11-22 04:35 -0800
Re: Unit test in C and breaking dependencies Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-11-22 17:08 +0000
Re: Unit test in C and breaking dependencies Thiago Adams <thiago.adams@gmail.com> - 2018-11-23 03:08 -0800
Re: Unit test in C and breaking dependencies Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-11-24 05:51 +0000
Re: Unit test in C and breaking dependencies Chad <cdalten@gmail.com> - 2018-11-24 03:35 -0800
Re: Unit test in C and breaking dependencies Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-11-24 12:50 +0000
Re: Unit test in C and breaking dependencies Chad <cdalten@gmail.com> - 2018-11-26 07:20 -0800
Re: Unit test in C and breaking dependencies Jorgen Grahn <grahn+nntp@snipabacken.se> - 2018-11-27 14:32 +0000
Re: Unit test in C and breaking dependencies Ian Collins <ian-news@hotmail.com> - 2018-11-28 15:18 +1300
Re: Unit test in C and breaking dependencies Thiago Adams <thiago.adams@gmail.com> - 2018-11-29 09:16 -0800
Re: Unit test in C and breaking dependencies Wouter Verhelst <w@uter.be> - 2018-11-23 09:21 +0100
Re: Unit test in C and breaking dependencies Thiago Adams <thiago.adams@gmail.com> - 2018-11-23 03:16 -0800
Re: Unit test in C and breaking dependencies Thiago Adams <thiago.adams@gmail.com> - 2018-11-23 03:18 -0800
Re: Unit test in C and breaking dependencies Anton Shepelev <anton.txt@g{oogle}mail.com> - 2018-11-23 15:27 +0300
Re: Unit test in C and breaking dependencies Malcolm McLean <malcolm.arthur.mclean@gmail.com> - 2018-11-23 06:42 -0800
Re: Unit test in C and breaking dependencies Ian Collins <ian-news@hotmail.com> - 2018-11-28 15:24 +1300
csiph-web