|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #41215] Request for a "pkg test" feature |
Date: | Fri, 3 Jan 2020 17:13:35 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36 |
Follow-up Comment #24, bug #41215 (project octave): Philip - I think you're overthinking it. The only thing you need to do to unload any number of packages is to revert the path. This is super simple: orig_path = path (); restore_path = onCleanup (@() path (orig_path)); ## code that loads packages, runs tests, etc... If this way of restoring the path does _not_ run PKG_DEL files in the directories that are removed, then that seems like another bug report. But let's not make this feature harder than it needs to be. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?41215> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |