| Ticket UUID: | 1054636 | |||
| Title: | Enhance test suite to disable all accel pkgs even if present | |||
| Type: | RFE | Version: | None | |
| Submitter: | lvirden | Created on: | 2004-10-26 14:47:34 | |
| Subsystem: | general request | Assigned To: | andreas_kupries | |
| Priority: | 8 | Severity: | ||
| Status: | Closed | Last Modified: | 2005-10-01 02:03:44 | |
| Resolution: | Closed By: | andreas_kupries | ||
| Closed on: | 2005-09-30 19:03:44 | |||
| Description: |
I think it would be useful for the tcllib test suite to either by default, or via some sort of extra makefile target, have the option of indicating that the user wishes the test suite to run only the tcl versions of modules through the test cases, rather than loading things like trf if present. Or maybe what is needed is a tcllib module option that allows the developer to do that very same thing when doing the package require? | |||
| User Comments: |
andreas_kupries added on 2005-10-01 02:03:44:
Logged In: YES user_id=75003 I believe we can close this, as we are testing all impl. for at least 90% of the users of accel pkgsby now. patthoyts added on 2005-02-18 07:27:29: Logged In: YES user_id=202636 For packages which can use a compiled extension, the test suite should be testing all available implementations. The message digest packages (md4, md5, ripemd) all do this currently. So does uuencode and I need to check some others. So there is no option required I think. andreas_kupries added on 2005-01-19 01:12:29: Logged In: YES user_id=75003 An idea in the same vein, actually more concrete than my last comment. And more general, hopefully. Have a small tcllib package containing runtime configuration options for all tcllib. The only configuration right now would be if 'accelerator' packages are allowed or not, default is that they are allowed. The relevant packages using accelerators load the package and query this information before trying to an accelerator. The relevant testsuites load the package first, disallow accelerators and the packages under test then see this and don't load them. andreas_kupries added on 2005-01-07 07:20:10: Logged In: YES user_id=75003 I guess this is possible, but requires support by the packages which look for accelerator packages. They basically need code looking for some magic signal which tells them not to look for accelerators, and then the testsuite can raise this magic signal. Otherwise the testsuite has to poke into the tested code, and modify it in some way. Dangerous. Difficult to Impossible. | |||
Home
Blog
Docs
Downloads
Tickets
Timeline
Branches
Tags
Wiki