|
From: | Philip Nienhuis |
Subject: | [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files |
Date: | Wed, 25 Dec 2019 13:39:26 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5 Lightning/5.4 |
Update of bug #41298 (project octave): Status: In Progress => Patch Submitted _______________________________________________________ Follow-up Comment #6: My pleasure, John. Attached is an updated patch relative to dev ~23 Dec '19. I had to adapt some code by Oliver/Lachlan as strcat() wrangles the test output files to something like: ## DO NOT EDIT!%!test <rest of test code> rather than ## DO NOT EDIT! Generated automatically ..... <rest of test code> What this cset does: * extract tests out of *.cc files * copies them into similarly named *.cc-tst files * copies them over to the archdependent subdir. Also attached is a cset for oruntests.m that can run tests in *.cc-tst files. With that fix there's at least some way that tests in .cc-tst files in archdependent package subdirs of installed packages can be executed. I was looking into the patch in bug #41215 comment #11 (typo in my comment #4 below) but that one gives very clumsy output. I'll comment there a little later. (file #48116, file #48117) _______________________________________________________ Additional Item Attachment: File name: bug_41298_extract_tests.cset Size:4 KB <https://savannah.gnu.org/file/bug_41298_extract_tests.cset?file_id=48116> File name: oruntests.m_cc-tst.cset Size:0 KB <https://savannah.gnu.org/file/oruntests.m_cc-tst.cset?file_id=48117> _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?41298> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |