Re: Testing cleaning
Russel Winder <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2017-04-18 at 17:05 +0000, Managan, Rob wrote: > Russel, > testing/TEX/clean.py has one example of running the build with the “- > c” option and then checking that certain files don’t exist I added such a call (thanks also to Bill for similar suggestion) and tests for non-existence of files after the build and test for existence of files, and it all seems to work. Which is great. I now realise this should have been added to all the other D tests. A canonical end-to-end test of this sort should be: 1. Build project. 2. Test expected files are there; try and test for no unexpected files. 3. Run application and test reasonableness, or build against newly created library. 4. Clean project and ensure all created files are removed. Once this pull request passes review and is merged, I shall update all the other D tests along these lines. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder _______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETwDs1X+Beyaiaer41L3V0s7Np7gFAlj2020ACgkQ1L3V0s7N p7jrIw//atd3236UIWiYn/vZLk0IxTrupxUp8dzwDdSq5xYengDcVFodNfjAks12 gzpr4izCJ/4CmJe++NfIS6f48aWTapwUqGZamPuwb3jhQTBe2XKrmBR2UtM3p/sP YcyzIuTqW+VLYkKBH9AlV5Hsb6nOOQmfWYg/A0s8B57zKqYGyZI4Ic2vXi3j67V/ jJyPn/jdFzH8BAZ39xZCsxZkDlMnHMmgd4DE2fbNSeUk8vhYJ9pmg5HQkt6FsWUJ 6U/vPxtxBX+nYRY0I7lw8uULgMWO9dDYInIqo0MUaX5CYDNE7wFwwY6nrjR6Fk1k M1FZ4Sh1O+MFB8GwSQSLG2Ph8nf33CHuL/BVHU47q0nTlu/hs7UCTcvWPXBiJ1SK jB0KIZthoXUPJu9kZLnrkM3XKJFip2SbUHEZGz04S8gcgg/DqZBkbIcCLI0zU2jO 5cIoA1defmkVVsi6WtfRP1/5YN8b2gHgFzPhRqRZCEMRl+AcU4Fzxc5X5/WJA0/w TB4n7dGu2bifyRfigpRgfOproVTB7CbM5u4RdnxM4/8rRcNc9mNm+etTiYehclxH zNSsenl43fiR856+5uP6kKodIHebppoh2ayu806dDvT8UsmcsNEXtvP0WylmWIhh G8VBPx+bcMNLq83Cv6o0Iy/LskWNAFMSmWXDUDa4EgllM4Hw28c= =3y5f -----END PGP SIGNATURE-----