diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-02-02 18:15:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-02-02 18:15:36 +0000 |
commit | 171e8d24b8ca131e994f1385e2d5d48daacafd21 (patch) | |
tree | 67b5f1f94bab46f7cf199a9414cdb8ef96961034 | |
parent | Initial commit. (diff) | |
download | cppunit-upstream.tar.xz cppunit-upstream.zip |
Adding upstream version 1.15.1.upstream/1.15.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
389 files changed, 110116 insertions, 0 deletions
@@ -0,0 +1,6 @@ +Michael Feathers <mfeathers@objectmentor.com> +Jerome Lacoste <lacostej@altern.org> +E. Sommerlade <eric@sommerla.de> +Baptiste Lepilleur <gaiacrtn@free.fr> <blep@sourceforge.net> +Bastiaan Bakker <bastiaan.bakker@lifeline.nl> +Steve Robbins <smr99@sourceforge.net> @@ -0,0 +1 @@ + @@ -0,0 +1,504 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + <one line to give the library's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + <signature of Ty Coon>, 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + + diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..8108bec --- /dev/null +++ b/ChangeLog @@ -0,0 +1,6579 @@ +2019-12-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [7e1c90fa717eb2253ca1901d4065f06b2469cfa2] + + update NEWS + + +2019-12-22 David Tardon <dtardon@redhat.com> [57f0b5697252fa238027fdd3052774055b69060b] + + drop project files for old versions of MSVC + + Change-Id: I36ceddb5a8a1f8e96b36a2e851338366cda1808d + Reviewed-on: https://gerrit.libreoffice.org/85662 + Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + +2019-12-22 David Tardon <dtardon@redhat.com> [c227e5402f4c7470bae34998f6e8ecd6752545cf] + + remove traces of .ds[pw] files from docs + + Change-Id: I6ebc31181ccfe379be96e979cda3717a991cf513 + Reviewed-on: https://gerrit.libreoffice.org/85663 + Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + +2019-12-21 Markus Mohrhard <markus.mohrhard@googlemail.com> [81cbaa728f595aa25819206dca6f71338686ad9e] + + next version is going to be 1.15.1 + + +2019-12-21 Markus Mohrhard <markus.mohrhard@googlemail.com> [8ed8126ec0c9ddd95c2d86ef81a95f6b405e05af] + + add NEWS for 1.15.0 and 1.15.1 + + +2019-12-21 Markus Mohrhard <markus.mohrhard@googlemail.com> [834f3a287387bd6230c98b0c5375aff568c75e02] + + fix -Wdefaulted-function-deleted error + + +2019-11-29 Markus Mohrhard <markus.mohrhard@googlemail.com> [ce97a647a901b4ebb34dc6806ab0c4d2885e92e1] + + tdf#126163: fix regression from 339b60ab77ce3f2037c9410eb14251c8132df08a + + +2019-04-30 Martin Liška <mliska@suse.cz> [78e64f0edb4f3271a6ddbcdf9cba05138597bfca] + + Fix build with gcc9.1 + + Change-Id: I8a0d7a0b51b5c537dbcfa8fdd34e816605b1f32e + Reviewed-on: https://gerrit.libreoffice.org/71573 + Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> + Tested-by: Tomáš Chvátal <tchvatal@suse.cz> + +2019-03-05 Andrés Maldonado <amaldonado@linagora.com> [339b60ab77ce3f2037c9410eb14251c8132df08a] + + Documentation updates + + doc/other_documentation.dox: + * add instructions to build documentation + * replace a dead link with it's archived version on WaybackMachine + + doc/Money.dox: + * replace `configure.in` with `configure.ac` + * update MoneyApp.cpp with the version at `examples/money/MoneyApp.cpp` + * remove all occurrences of `#include "stdafx.h"` (stdafx.h does not exist in this example) + * replace all occurrences of CppUnit:: with CPPUNIT_NS:: + * Undo a fix in commit 652d51e653568fbf652a248c7b9e01e72e6ec50f + * This commit fixed the following error: + ``` + Money( double amount, std::string currency ) + : m_amount( amount ) + , m_currency( m_currency ) + ``` + But this error was introduced on purpose, so that the user can see that an assertion failed + * fix some spelling errors + * other minor edits + + examples/money/MoneyTest.h: + * Updated to match doc/Money.dox + + Change-Id: I4e90b1a3afadab94f7112c36fcb0d1c467169269 + Reviewed-on: https://gerrit.libreoffice.org/67787 + Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> + Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> + +2019-02-16 Markus Mohrhard <markus.mohrhard@googlemail.com> [c37be301e883e6fda168e30093acfd0afcf63666] + + use [] in AC macros + + +2019-02-16 Andrés Maldonado <amaldonado@linagora.com> [9da32ab7dfbc17ecc9de6d19f64ae2bca9978871] + + Modernize AM_INIT_AUTOMAKE syntax + + For more info, see: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation + + Change-Id: If27065b6d9c9245717ca24e0c0e1fa4c29bc3e5c + Reviewed-on: https://gerrit.libreoffice.org/67808 + Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + +2019-02-14 Tobias Groll <groll@cs.uni-kl.de> [51efd6f2184405dea29265ea0dd25c71b348404a] + + Added some brackets to make it more clear for the compile which things belongs to the if body + + +2019-02-14 Noel Grandin <noel.grandin@collabora.co.uk> [1caa3a0c66f009fe1a386d7559dc25054dad42a3] + + custom tostring formatter to CPPUNIT_ASSERT_MESSAGE + + Provide an extension trait message_to_string that allows client code + to call ASSERT_MESSAGE with their own string types. + + Also provide a default extension trait that accepts std::ostream + messages. + + Change-Id: I516f97063c34d86bc91c40e0ec147d5393e7b6ea + +2019-02-13 Stephan Bergmann <sbergman@redhat.com> [3788fccdd12ea1e3240d79e85d9146f6c264c6ec] + + Unconditionally use C++11 [[noreturn]] + + This helps avoid issues like <https://gerrit.libreoffice.org/plugins/gitiles/ + core/+/9808486a89c6368f836579f8d8c0dda63fd0063c%5E%21> "Avoid + -Werror,-Wimplicit-fallthrough with clang-cl ...where CPPUNIT_FAIL is marked as + noreturn only for __GNUC__". + + Change-Id: Idb33af7375f103f2dd7a7b4c3dbf20ce731b17ad + Reviewed-on: https://gerrit.libreoffice.org/67247 + Reviewed-by: Stephan Bergmann <sbergman@redhat.com> + Tested-by: Stephan Bergmann <sbergman@redhat.com> + +2018-11-02 Miklos Vajna <vmiklos@collabora.co.uk> [48145587c4c2dc4f1e07d83073e136336c81ce79] + + extensions: add CPPUNIT_TEST_FIXTURE() + + This is similar to googletest's TEST_F() macro, allows to avoid spelling + out the test name in a suite only once, not 3 times. + + Change-Id: I90804d271d046d8158678617d8db75ed6ca7c420 + Reviewed-on: https://gerrit.libreoffice.org/61732 + Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + +2018-09-26 Stephan Bergmann <sbergman@redhat.com> [4f5cd3b486afb9c7be1903252b4ae3787137a454] + + Avoid GCC 9 -Wdeprecated-copy + + ...when an implicitly-defined copy function is used that may in a future C++ + standard be defined as deleted because of the user-declared destructor. Just + declare all the four copy/move functions as defaulted for a consistent + interface. + + (Originally addressed with LibreOffice commit + <https://gerrit.libreoffice.org/58042> "external/cppunit: silence + -Werror=deprecated-copy (GCC trunk towards GCC 9)".) + + Change-Id: Ie38ac3a613e6fbc2e4045cb5b14c3f6d167c79c5 + Reviewed-on: https://gerrit.libreoffice.org/58690 + Reviewed-by: Stephan Bergmann <sbergman@redhat.com> + Tested-by: Stephan Bergmann <sbergman@redhat.com> + +2018-07-05 Blake Madden <madindayton@outlook.com> [742d887de85f378ab817a992cdfa0778971df093] + + Fix the name of the VC project mentioned in the build instructions. + + +2018-07-05 Blake Madden <madindayton@outlook.com> [653b1db88832b1c44327117510048e28eb136de3] + + Make output XML report schema UTF-8 and remove Japanese specific information. + + +2018-05-23 Markus Mohrhard <markus.mohrhard@googlemail.com> [0f06c57cafbf050276bae3306aed3bcbb39ddc44] + + next version will be 1.15.0 + + +2018-05-23 Markus Mohrhard <markus.mohrhard@googlemail.com> [fd7111241a90b00eed45c7fb847101c732b9df83] + + C++11 provides std::isfinite and std::isnan + + +2018-05-23 Markus Mohrhard <markus.mohrhard@googlemail.com> [03fe3b83eb95a20a3397a0b5c19c25f02986c888] + + fix make distcheck, part2 + + +2018-05-23 Markus Mohrhard <markus.mohrhard@googlemail.com> [66e39e76d7f9acc27522b0a25cd6e538ecc920f0] + + fix make distcheck, part1 + + +2018-04-02 Markus Mohrhard <markus.mohrhard@googlemail.com> [5ee5394ccec1e9fa07f2a84d73209472c8a1daab] + + tdf#116653, avoid NOMINMAX redefinition warnings with mingw + + +2017-12-24 Simon Barth <Simon.Pe.Barth@gmail.com> [a412733438e4a589069f4db2ae17bd6e32d07864] + + contrib:cppunit2junit: parametrize testsuite name + + The cppunit2junit XSL stylesheet has a hardcoded name for the testsuite. + + Instead of putting a meaningless name, allow users to parametrize this + name when doing the transformation. + + Change-Id: I2d0ebaf92cd0aa4d8ff3b3a2c423f4a8edd94807 + Signed-off-by: Simon Barth <Simon.Pe.Barth@gmail.com> + Reviewed-on: https://gerrit.libreoffice.org/46357 + Reviewed-by: David Tardon <dtardon@redhat.com> + Tested-by: David Tardon <dtardon@redhat.com> + +2017-09-15 Dimitrij Mijoski <dmjpp@hotmail.com> [1eaec743d1f1fbb5efeddd19aff07114cf4c7fc9] + + Fix money example on propely linking with library with PKG_CHECK. + + Change-Id: If42a50386402b7a601268cf8db80236c147009c1 + Reviewed-on: https://gerrit.libreoffice.org/42206 + Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + +2017-07-20 Stephan Bergmann <sbergman@redhat.com> [85d24152f81bfcd463356330f1cc6257f485535f] + + Report (un)signed char values numerically + + ...instead of as characters, as those values often represent numerical values + (e.g., sal_uInt8 aka unsigned char in LibreOffice), and often even have values + outside the printing ASCII range + + Change-Id: I72727e98f5af616f6b0c03c57fc1119c0c11c1fc + Reviewed-on: https://gerrit.libreoffice.org/40138 + Reviewed-by: David Tardon <dtardon@redhat.com> + Tested-by: David Tardon <dtardon@redhat.com> + +2017-05-26 David Tardon <dtardon@redhat.com> [c29651571c5e6e52dda92b85210c8ab9026a79fb] + + set up git-review + + +2017-04-15 Markus Mohrhard <markus.mohrhard@googlemail.com> [c6aec99d114f4cb35cc7d9c1d09bae960c4c085b] + + remove strange INSTALl notes for VS 2008 + + +2017-04-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [b8a9398b3352c6560af646e1492aae4bf2bd3101] + + more windows visual studio packaging fixes + + +2017-04-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [bf0ed0a0c1552cb230dd078ff76a0c64281277c4] + + package visual studio project files + + +2017-04-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [f74ac1a1f96db97d284747451ec62d7955a95b70] + + fix broken packaging for windows + + +2017-04-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [f8bd289315041e24853b74b601131f4745c3feb3] + + remove also all references to mfc + + +2017-04-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [de5eab33cb30f15f85ac8f197bd571b7695566a6] + + remove BeOS special support + + +2017-04-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [6456f18a9aa00cbf9d90075786122075dc8f3141] + + remove more msvc specific code and bc5 stuff + + +2017-04-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [dad270be0b9b1d10b2aeb8960603a06677b75b2b] + + remove the qt test runner that depends on ancient qt + + +2017-04-07 dennisroczek <dennisroczek@libreoffice.org> [1830b646ea1c181ae0a298e53bf2cfa5e0eaee48] + + fix HTML Encoding + + in my last commit Gerrit's web interface changed the encoding + of the file. The page doesn't look correct any more. + + Change-Id: I5de59620ef4ca78a009da2bbf2c6fe37af0dd54c + Reviewed-on: https://gerrit.libreoffice.org/35401 + Reviewed-by: David Tardon <dtardon@redhat.com> + Tested-by: David Tardon <dtardon@redhat.com> + +2017-03-14 dennisroczek <dennisroczek@libreoffice.org> [1f68ba5f7ad9bf04cf6a9e449e5b7cbb4dc27a8c] + + fix typo/grammar: "the the" --> the + + Change-Id: I03c1e1118c0574863f9460d1d7fc543b44d59efe + Reviewed-on: https://gerrit.libreoffice.org/35152 + Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> + Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> + +2017-02-27 dennisroczek <dennisroczek@libreoffice.org> [b8f6a1115e2dc798b5e762f5738803a5208400c2] + + fix typo: documention --> documentation + + Change-Id: I58762dfb08c6f85ccb11d0b634c738606cd6379f + Reviewed-on: https://gerrit.libreoffice.org/34649 + Reviewed-by: Michael Stahl <mstahl@redhat.com> + Tested-by: Michael Stahl <mstahl@redhat.com> + +2017-01-01 Markus Mohrhard <markus.mohrhard@googlemail.com> [e43bfbf604f8b4e48b8a30bcfa702fdc5043ba85] + + fix the distcheck build and remove refs to deleted files + + +2017-01-01 Markus Mohrhard <markus.mohrhard@googlemail.com> [ffea468d58ebef7ccacd925eb9268a0148156851] + + update coding guidelines + + +2016-12-31 Markus Mohrhard <markus.mohrhard@googlemail.com> [51b9f42694914f999ddb51bc11be069002032211] + + remove reference to deleted file + + +2016-12-16 Markus Mohrhard <markus.mohrhard@googlemail.com> [079bdbdd2b0e23f30ee733b7592c9c5bc119bd1e] + + add changes for TestCaller and TEST_CASE_PARAMETERIZED into NEWS + + +2016-12-16 Markus Mohrhard <markus.mohrhard@googlemail.com> [4e529c6a6569d1f352e02af16e53aba7ae7bdc1a] + + implement parameterized tests + + This allows to execute the same test with different parameters and + treats each execution as an own test. The change consists of two parts, + the TestCaller can now handle any callable which also makes it easy to + generate programatically more complex test cases as well as the new + CPPUNIT_TEST_PARAMETERIZED macro. That macro takes the test name as well + as an iteratable, e.g. std::initializer_list. + + An example for this usage is: + + class SimpleTest : public CppUnit::TestFixture + { + public: + CPPUNIT_TEST_SUITE(SimpleTest); + CPPUNIT_TEST_PARAMETERIZED(test, {1, 2, 3, 4}); + CPPUNIT_TEST_SUITE_END(); + + void test(int i) + { + CPPUNIT_ASSERT(i < 5); + } + }; + + which will execute test 4 times with the values 1 to 4. + +2016-12-16 Markus Mohrhard <markus.mohrhard@googlemail.com> [923e2a837d515eb0d33792aba8bbb839f0012067] + + use std::function for the test method in TestCaller + + This allows us to pass in any callable e.g. results of std::bind. + +2016-12-16 Markus Mohrhard <markus.mohrhard@googlemail.com> [25ccf3dd39c283c54313d8d26374e493e0e5f1a6] + + extract the code to turn a variable into a string + + +2016-12-16 David Tardon <dtardon@redhat.com> [fcc0062e64edff6a64fb6d0ce9d8695b6373d1f2] + + AM_CPPFLAGS is preferred by "newer" versions of automake + + +2016-12-16 David Tardon <dtardon@redhat.com> [967fc7e4bd88914b7555177864a5949b9717f233] + + error: blank line following trailing backslash + + +2016-12-16 David Tardon <dtardon@redhat.com> [b29b9dfa5e39c4e8d95df9ebc20df93fe9c5727b] + + drop project files for Visual Studio < 2010 + + +2016-12-16 David Tardon <dtardon@redhat.com> [3bf22cb6d0645bf329fec9c850477b2fc9976f6c] + + tdf#104498 CPPUNIT_USE_TYPEINFO_NAME is a flag + + ... so check just for existence. + +2016-12-15 Markus Mohrhard <markus.mohrhard@googlemail.com> [ff6ce1d7c00be2279f905b2f08cbbd67fa239ae7] + + we no longer need a wrapper for the smart pointer case + + +2016-12-14 Markus Mohrhard <markus.mohrhard@googlemail.com> [9e22a4f7c7794ab1cbd808058c13356f38ed632a] + + simpler implementation for the enum class work around + + +2016-12-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [921cb4648308fc66f17fa99ec65d6d9c67be9093] + + no need for optional features now that we require C++11 + + +2016-12-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [abc8689a96db70297aeec7088eab7005dc1a907d] + + update the NEWS file with C++11 and portability changes + + +2016-12-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [435dee2d69a47c8d46aa1aab3d2906bfc8eab74e] + + add support for enum class to the asserter + + The asserter now has special handling to convert the enum class to a + std::string. This does not work without some template magic as enum + class has no implicit conversion to int. + +2016-12-11 Markus Mohrhard <markus.mohrhard@googlemail.com> [98f0a738d2925c41b268388ce6defe86114f611a] + + update coding guidelines + + +2016-12-11 Markus Mohrhard <markus.mohrhard@googlemail.com> [2b9f4b072bfb4129ee8eaaa86b3f068bdd2d581d] + + remove support for old broken C++ compilers + + +2016-10-15 Markus Mohrhard <markus.mohrhard@googlemail.com> [e8c0def96e6ca4370377747bda1d8a8c0dab4867] + + update NEWS + + +2016-10-15 Markus Mohrhard <markus.mohrhard@googlemail.com> [fcc84eec40acf8506f2a5fcc3fe0399663d1ce18] + + cppunit.m4 is gone + + +2016-10-15 Markus Mohrhard <markus.mohrhard@googlemail.com> [442300567b57ff6a02b180e36407b93e2177a3fc] + + always use std::unique_ptr + + +2016-10-15 Markus Mohrhard <markus.mohrhard@googlemail.com> [c314941600c5bd601831e6204b04b06a223064e7] + + replace with std::unique_ptr + + +2016-10-15 GARCIN David <david.garcin@openwide.fr> [29ae31614fb70e192f63fdab1c65105493319edc] + + HelperMacros: fix deprecated NULL macro usage + + Using gcc (currently using gcc 5.2) flag -Wzero-as-null-pointer-constant + triggers warnings: + + [...]include/cppunit/extensions/HelperMacros.h:171:31: error: zero as null + pointer constant [-Werror=zero-as-null-pointer-constant] + CppUnitExDeleter() : suite (0) {} \ + ^ + + [...]include/cppunit/extensions/HelperMacros.h:174:45: error: zero as null + pointer constant [-Werror=zero-as-null-pointer-constant] + CPPUNIT_NS::TestSuite *tmp = suite; suite = NULL; return tmp; \ + ^ + + Using nullptr is the c++11 way to initialize pointers with null value [1]. + + [1] http://en.cppreference.com/w/cpp/language/nullptr + +2016-10-15 Markus Mohrhard <markus.mohrhard@googlemail.com> [42bd37a4b8d8feab2d30761648b51eaf20623abb] + + we always require RTTI now + + RTTI is supported by any decent compiler and with the mandatory c++11 support + we are no longer supporting older compilers anyway. + +2016-10-15 Markus Mohrhard <markus.mohrhard@googlemail.com> [2917f424d32dc9f7128ecf4d47cdcc48fb0781d2] + + we always require c++11 now + + +2016-02-13 David Tardon <dtardon@redhat.com> [f6617be922a56c6686f98b26714f222f1b25b11c] + + add more autoconf stuff to gitignore + + +2016-02-13 David Tardon <dtardon@redhat.com> [c81afa737307ef525258cfae24eb3f2845ce7208] + + drop cppunit-config in favor of pkg-config + + +2016-02-13 David Tardon <dtardon@redhat.com> [a691504d5fb8fada5343252d3ce5bd147c677e50] + + convert to UTF-8 + + +2015-11-08 Markus Mohrhard <markus.mohrhard@googlemail.com> [292026e36ce5b9ebdad86e99304be2ded8c199d8] + + fix --disable-optional-features build + + Use std::auto_ptr in C++03 mode. + +2015-11-08 Markus Mohrhard <markus.mohrhard@googlemail.com> [4b28f0c821bd0ee044cf0a4be1a7270edc9874cb] + + fix make distcheck + + +2015-11-07 Markus Mohrhard <markus.mohrhard@googlemail.com> [5cb290d77a3539a492eac43202f27ecd150c99a0] + + add a flag for adding optional features + + These features will switch the used C++ version from C++03 to C++11. We + are also going to use std::unique_ptr instead of std::auto_ptr for the + c++11 mode. + +2015-11-07 Markus Mohrhard <markus.mohrhard@googlemail.com> [c5813be8793da22ec25e4dfdf9d6dec43695cbeb] + + next version is 1.14.0 + + +2015-10-06 Jan-Marek Glogowski <glogow@fbihome.de> [615bf72e2000e2118d08c85ccace5253dbb214be] + + Remove surplus ] and fix option text + + The debug option actually just enables symbols. + + Change-Id: Ib7e3c7727e2160b04dea6c56303e4a58d3e0cd2b + Reviewed-on: https://gerrit.libreoffice.org/19212 + Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> + +2015-08-20 Markus Mohrhard <markus.mohrhard@googlemail.com> [5d83af095b987f275ec6f12fd0b7bdc5b7e30b0e] + + update URL for bug reports + + +2015-08-20 Markus Mohrhard <markus.mohrhard@googlemail.com> [6d13161d2d7abd5a0ce7b15eb26045701575d328] + + update CodingGuidelines + + Nearly all compilers that are in use will support these features. ALso + mention that c++11/c++14 features are only allowed in optional code. + +2015-08-18 Markus Mohrhard <markus.mohrhard@googlemail.com> [75d1efd9866d3474ca008157be092be93d782243] + + add new assertions to NEWS + + +2015-08-18 Markus Mohrhard <markus.mohrhard@googlemail.com> [69ea3cbf1ec9ff8c5159f73d0ce71087f7727792] + + remove commented out code + + The code has been commented out for a long time and is not related to a + missing fix. + +2014-11-03 Caolán McNamara <caolanm@redhat.com> [9c5b50060411ec71ac1583ae96e8f4652803b564] + + extend tell coverity that fail doesn't return + + +2014-07-17 Markus Mohrhard <markus.mohrhard@googlemail.com> [2599d56470a331fb943a1afabfd053ddf7548e6a] + + add fix for fdo381433 to News + + +2014-07-17 Markus Mohrhard <markus.mohrhard@googlemail.com> [d44643d07a61ee9efc100f23c47ab3969efda998] + + fix crash with WIN64 in testrunner + + Reported by: Peter Tax + +2014-07-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [0ef304e8b8cc517c6a1d8ddccfcaab49172c0535] + + add new assertion macros for <, <=, > and >= + + Now we support the following new macros: + + - CPPUNIT_ASSERT_LESS + - CPPUNIT_ASSERT_GREATER + - CPPUNIT_ASSERT_LESSEQUAL + - CPPUNIT_ASSERT_GREATEREQUAL + +2014-07-06 Caolán McNamara <caolanm@redhat.com> [059fcd2878071616cedb5116a0b2f75b5edbdbe0] + + mark the fails as no-return + + that might help clang scan-build understand that execution won't continue after + they fail + +2014-07-06 Caolán McNamara <caolanm@redhat.com> [18a1369dbdb46c393f415c5a12bb9b5206cbb1c5] + + tell coverity that fail doesn't return + + +2013-11-12 Thorsten Behrens <tbehrens@suse.com> [1cebdfc97b39961c2df68e84996f667d529eafc7] + + Update FSF address in LGPL license. + + Since rpmlint was bitching, and indeed + http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt features a + new address. + +2013-08-16 Stephan Bergmann <sbergman@redhat.com> [c4f7bf8d1346bdfc4d34af24b373e6a0aeb6cc46] + + -Werror,-Wbind-to-temporary-copy + + "C++98 requires an accessible copy constructor for class + 'CppUnit::TestCaseMethodFunctor' when binding a reference to a temporary; was + private." (Clang) + +2013-08-16 Stephan Bergmann <sbergman@redhat.com> [d831d2d72f93fc24462bec8f296fd870c8f8407c] + + -Werror,-Woverloaded-virtual + + "'CppUnit::TextTestResult::addFailure' hides overloaded virtual function; + ../../include/cppunit/TestResult.h:85:16: note: hidden overloaded virtual + function 'CppUnit::TestResult::addFailure' declared here: different number of + parameters (2 vs 1)." (Clang) + +2013-08-15 Tobias Lippert <drtl@fastmail.fm> [773ba28bfb3ce86dd2f9704d39d60b00d5f30b77] + + Bug # 51154: cppunit warning cleaning + + This patch allows to compile the code with gcc's -Weffc++ + + It consists mostly of making copy constructors and assignment operators + explicit and private, and of initializing all members in initializer lists. + + Change-Id: I6f1cae812c58e3791c2386a1288501cf2f559610 + Reviewed-on: https://gerrit.libreoffice.org/5424 + Reviewed-by: Tor Lillqvist <tml@iki.fi> + Tested-by: Tor Lillqvist <tml@iki.fi> + +2013-05-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [89abdff7b0dcba8c050ce9ef7f68760511814f2f] + + add cppunit 1.13.1 changes to NEWS + + +2013-05-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [9953a5621b9feef624f97df7e45e88af0ff38184] + + update NEWS file with 1.13.2 changes + + +2013-05-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [13244fdaa4ff563bdb0e853b8e081fe4ebb4001f] + + report dlerror messages on unix + + Upstream Libreoffice patch. + +2013-05-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [d0567fcfa1e348e1bc6d91a95caa44075465bbf8] + + add configuration for 64bit windows builds + + +2013-05-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [943c3a71404f00d2fb95ea19d936b27af79e0a80] + + allow compiling the cppunit solution as 64bit with MSVC + + +2013-01-01 Stephan Bergmann <sbergman@redhat.com> [61e0deb8c5200cdc66a8d6215a462e433f1804da] + + Obsolete AM_CONFIG_HEADER -> AC_CONFIG_HEADERS + + (cf. <https://trac.macports.org/ticket/37428> "gnome-keyring @2.30.3 autoreconf + fails with automake 1.13: possibly undefined macro: AM_CONFIG_HEADER") + +2012-12-04 Tomas Chvatal <tchvatal@suse.cz> [b1ebd529560bc6f2a73d73bc96a0ffe1c2b6cde2] + + Use tabs as they are used in the rest of the file. + + +2012-10-24 Markus Mohrhard <markus.mohrhard@googlemail.com> [082dc6be483d66444ba983306aa2471c4fd5037f] + + support easy way to add debug information + + +2012-10-24 Markus Mohrhard <markus.mohrhard@googlemail.com> [8ddb4ae9ec09ce3d3cc6c2e3564b146b1239f061] + + build with Wextra + + +2012-10-24 Markus Mohrhard <markus.mohrhard@googlemail.com> [acfd15275c5ae593f5529033212732168a2e0e78] + + next version is 1.14.0 from the master branch + + +2012-08-15 Julien Nabet <serval2412@yahoo.fr> [d7b449a4b2fb7f165ad6c108b5fd07f5142fc34b] + + Fix "No newline at end of file" + + +2012-08-15 Julien Nabet <serval2412@yahoo.fr> [e3f007eb2da59ec74ac9e9c05a4cf3eb2c9bb4f4] + + Bin deprecated attributes + + +2012-08-15 Julien Nabet <serval2412@yahoo.fr> [e0ecb7d15852023e64fc2553a066c55896cbfca2] + + add execution perm + + +2012-08-14 Andriy Gapon <avg@icyb.net.ua> [bba000ab134e9ac1e62cfe017b424adf7c327954] + + workaround problem when mxing older gcc with newer versions, fdo#52539 + + +2012-08-11 Tomas Chvatal <tchvatal@suse.cz> [ff97d2d011adb3f68851b9b045c2073933c0a90a] + + Version bump post release. + + +2012-08-11 Tomas Chvatal <tchvatal@suse.cz> [d0406e5a203b65c7f27db5265586a6cdba514310] + + Ignore build folder as we support OOT build. + + +2012-08-11 Tomas Chvatal <tchvatal@suse.cz> [4942ae2fac693e35072d27564286d6852f964dab] + + Merge branch 'master' into feature/buildsystem_rewrite + + Conflicts: + config/ax_cxx_gcc_abi_demangle.m4 + +2012-08-08 Markus Mohrhard <markus.mohrhard@googlemail.com> [ec8f67b0bf103b553f435d3b969965f9cff58768] + + also adapt the configure check to portable header for free + + +2012-08-07 Markus Mohrhard <markus.mohrhard@googlemail.com> [ee31b6a137195aa55cb98b0b8e65c587487ea0db] + + use portable way to access free, fdo#52536 + + +2012-08-07 Markus Mohrhard <markus.mohrhard@googlemail.com> [71fddd30ba03374fde7d740085f10a17be17f106] + + don't crash if demangling fails, fdo#52539 + + +2012-08-06 Tomas Chvatal <tchvatal@suse.cz> [e349cf4c312afbeeb388327848a4f3c0378be534] + + Merge branch 'master' into feature/buildsystem_rewrite + + Conflicts: + .gitignore + autogen.sh + configure.in + doc/Makefile.am + examples/cppunittest/TestAssertTest.cpp + +2012-08-06 Tomas Chvatal <tchvatal@suse.cz> [5b48db1ee9fbaa6e7b48f31233d3e764093a53a3] + + Merge branch 'master' into feature/buildsystem_rewrite + + +2012-07-28 Robinson Tryon <qubit@runcibility.com> [8e0179d81acba39ea868c275e5e57ab1bee42c5b] + + gitignore: Ignore compiled files generated by 'make check' + + +2012-07-28 Robinson Tryon <qubit@runcibility.com> [731bf524995672069cbc5d23c13bb65079a6b221] + + gitignore: Ignore more build-generate files + + +2012-07-28 Robinson Tryon <qubit@runcibility.com> [c7201d7694fe8202dbe27b84140c1358dfa42845] + + gitignore: Add generated files to ignore list + + +2012-07-28 Robinson Tryon <qubit@runcibility.com> [b2996f867f3c6c62a9bfca4bef453f8257352ca5] + + gitignore: Create .gitignore file + + This commit adds a new top-level .gitignore file and adds + ignores for the usual stuff: + - Temporary/save files + - Compiled object files + - Other stuff created by the configure/build process + + This will make 'git status' give much more relevant output. + +2012-06-28 Fridrich Štrba <fridrich.strba@bluewin.ch> [143021676d44477ab32e1f36a9e086c3b007527b] + + Fix non-doxygen build + + +2012-06-28 Fridrich Štrba <fridrich.strba@bluewin.ch> [3a1718e0109e9cef4f848bcdbe0c5d92e06e0830] + + Some build system tweaks + + +2012-06-27 Michael Meeks <michael.meeks@suse.com> [4a433cde9871b77858b059c318488f7a1a6f3e50] + + calm gcc paranoia about uninitialized state + + +2012-06-27 Michael Meeks <michael.meeks@suse.com> [943e73cc0401df0fac2636e3676218c8e1219a05] + + avoid the need to work around auto_ptr warnings by dropping that + + +2012-06-22 Markus Mohrhard <markus.mohrhard@googlemail.com> [5f0b02d69d0799d729d35a555c038a65ee0e1e0e] + + the 2005 project is not usefull, problems with the existing vcproj files + + +2012-06-21 Markus Mohrhard <markus.mohrhard@googlemail.com> [d80721064e1ef6c38c82a93c76e2b6b55f5d6fe9] + + update NEWS + + +2012-06-21 Markus Mohrhard <markus.mohrhard@googlemail.com> [3e67cc50fac98039dca974eede3f14be89c6080b] + + add the remaining missing files + + +2012-06-21 Markus Mohrhard <markus.mohrhard@googlemail.com> [3cbca4f525a4db29b4dd99962970eb9962ff666a] + + add visual studio 2005 and 2010 project files to build cppunit libs + + +2012-06-21 Markus Mohrhard <markus.mohrhard@googlemail.com> [5b83ebfbdfad75bd6d75e5a3de36b4c1ebddd938] + + fix visual studio 2005 build + + +2012-06-16 Markus Mohrhard <markus.mohrhard@googlemail.com> [66f607ed47ca9187e51aa4b2402e0e30ba0db211] + + a bit warning cleaning in the tests + + -Werror -Wall -Wextra now works in make and in make check + +2012-06-16 Markus Mohrhard <markus.mohrhard@googlemail.com> [6ad5f9b35c32d696424f241530d3c0595c608c8a] + + TestDecorator assumes ownership and is not allowed to create copies + + +2012-06-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [41f69b1c2d2de8e1fdb6ef0023021d8edea114ca] + + update NEWS + + +2012-06-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [42e99e0881b9fc67f31c80e60fa7c04ad3e6d2a5] + + correct documentation, sf#2185407 + + +2012-06-13 Markus Mohrhard <markus.mohrhard@googlemail.com> [7e306f41b0b1930e3cb20c533ccd665a71e73c7e] + + correct documentation, sf#2186611 + + std::vector::at() throws std::out_of_range and not std::invalid_argument + +2012-05-05 Markus Mohrhard <markus.mohrhard@googlemail.com> [7902eb988d167b6cddd88b6c5be4385b203080eb] + + adjust documentation to freedesktop homepage + + +2012-04-25 Tomas Chvatal <tchvatal@suse.cz> [3002523ba9bc9ad2f4205760d786c2666e4920e2] + + Use correct variable for pc file. + + +2012-04-25 Tomas Chvatal <tchvatal@suse.cz> [1887295b120f685e04b67b993864c2fc6719bc00] + + Remove leftover from visio msvc compat. + + +2012-04-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [42e19643d20679eecc5feef7656065b95403b65b] + + WaE: set but unused variables in tests + + +2012-04-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [0a0a19e09bfdfd98544bdb987d01b0a3ae67e334] + + try to fix problem with ISO c++ function vs object pointer + + http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#195 + +2012-04-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [cbe43bf5161a7c10461ab2e20b76a3771ece8d70] + + it should be cppunit and not libvisio + + +2012-04-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [f15b8d4f9fc6a4dc4182a48c5863c8fcae4084b5] + + update README to new freedesktop home + + +2012-04-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [842026474f58071edab152054b88c0e8d56bcf8e] + + add patch management to CodingGuidelines + + +2012-04-25 Markus Mohrhard <markus.mohrhard@googlemail.com> [866076cd3ec4b383ee7fd44450763b35ebf63132] + + update NEWS + + +2012-04-25 Tomas Chvatal <tchvatal@suse.cz> [1f263e3d3203e699d105f6b3e203c4bb57f778ce] + + disable -Weffc++ warning as it throws too much stuff around now. + + +2012-04-25 Tomas Chvatal <tchvatal@suse.cz> [d6ec7807b977bbb5b24e7c46ed486fb65abfe48d] + + Automake cleanup, install and generate changelog + + +2012-04-25 Tomas Chvatal <tchvatal@suse.cz> [0fe54f1f14aeeda0c800642a55bd7aea16b6c5db] + + Remove patch that was already applied at some point. + + +2012-04-25 Tomas Chvatal <tchvatal@suse.cz> [32c70a883286590815111a6ee9dd271abd22f3e6] + + Add the quirks to produce same config.h as previously + + +2012-04-25 Tomas Chvatal <tchvatal@suse.cz> [1059029fac4b27fd97008337e97f7ed2c502fdc2] + + Add new autoconf using the latest macros + + This add new macros from autoconf-archive instead of the old + broken ones. Also cleans up the configure.in and moves it to + configure.ac. + + This setup as-is is not working. Next step is checking config.h + to contain same contend for before/after update. + +2012-02-24 Tomas Chvatal <tchvatal@suse.cz> [215ff59273aaf6f316159c8c090ca7503eb7322c] + + Fix as-needed build. + + +2012-02-14 Stephan Bergmann <sbergman@redhat.com> [0f75eaa0b8de3d68e8b5b5447fbc009531183cb5] + + GCC -Werror=sign-promo + + +2012-02-01 Stephan Bergmann <sbergman@redhat.com> [7a09bf3a88e99d85c4dec2ad296309dbec2987c3] + + Improve previous warnings patch + + +2012-02-01 Stephan Bergmann <sb@openoffice.org> [a76125c7dd07f79c82f3fed9be5c0a5627089e00] + + Fix for Solaris "finite" in ieeefp.h instead of math.h + + See <https://sourceforge.net/tracker/?func=detail&aid=2912590&group_id=11795&atid=311795>. + +2012-01-28 Markus Mohrhard <markus.mohrhard@googlemail.com> [35ffe82c0857601c03874cacb1326637bffbd821] + + don't set api/abi entries for 1.13.0 + + +2012-01-28 Markus Mohrhard <markus.mohrhard@googlemail.com> [2466d6dc24546688276c074e2f691b72ae60464d] + + remove references to old cvs and sourceforge + + +2012-01-28 Markus Mohrhard <markus.mohrhard@googlemail.com> [3acfc24e54a9f6d1b2121dda1942e882549870e4] + + upstream libreoffice patch for sf#3123759 + + based on a debian patch from + http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=cppunit.diff;att=1;bug=338252 + +2012-01-27 Markus Mohrhard <markus.mohrhard@googlemail.com> [f695453c324c585b25f4eff4388252da65ec64ae] + + development for 1.13.0 + + +2012-01-27 Markus Mohrhard <markus.mohrhard@googlemail.com> [e7a1968c1c2cbd9752ca6a9cfa196fd56146c71e] + + Portability.h contains #define CPPUNIT_VERSION "1.12.0", sf#2983798 + + +2012-01-27 Markus Mohrhard <markus.mohrhard@googlemail.com> [05b202fc3edce92d8343cb0964d9d15134cd8f1d] + + upstream libreoffice patch related to rhbz#641350 + + impl. destructor of Cppunit::Message causes segfault when test + +2012-01-27 Markus Mohrhard <markus.mohrhard@googlemail.com> [9cfcff6c2195ae25be4022654990c9eea6fbb2f8] + + upstream libreoffice warnings patch + + +2009-11-24 Baptiste Lepilleur <gaiacrtn@free.fr> [be2c1fd6a39ad763b63c85f78b41b1358bf1c685] + + Config/ax_cxx_gcc_abi_demangle. + + config/ax_cxx_gcc_abi_demangle.m4: + * src/cppunit/TypeInfoHelper.cpp: Fixed demangling of symbols on gcc 4.3 (bug #2796543). + +2009-11-24 Baptiste Lepilleur <gaiacrtn@free.fr> [2ad11a1f1a022f1fbaaf8deae64e9249cfc8fb4b] + + src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp: fixed memory leak in getCommandLineArguments() (bug #1721408). + + +2009-11-24 Baptiste Lepilleur <gaiacrtn@free.fr> [edd2b1f19999dd6a2e44c835ca32e618f1f98dc4] + + examples/examples2008.sln: Fixed compilation issue in debug configuration with VS2008 (due to incorrect configuration being picked up). + + +2009-11-24 Baptiste Lepilleur <gaiacrtn@free.fr> [6e787c94c54bc4d49794c6284306873090428aeb] + + Include/cppunit/portability/config-msvc6. + + include/cppunit/portability/config-msvc6.h: + * include/cppunit/portability/Portability.h: Added macro + CPPUNIT_UNIQUE_COUNTER on MSVS 7.0+ using __COUNTER__ to + fix bug #2031696. + +2009-11-24 Baptiste Lepilleur <gaiacrtn@free.fr> [01c095d4eba446240fb8b01de1e7cfad0502a46e] + + Include/cppunit/plugin/TestPlugIn. + + include/cppunit/plugin/TestPlugIn.h: + * include/cppunit/plugin/TestPlugInDefaultImpl.h: added missing dllexport for CppUnitTestPlugIn. + +2009-11-24 Baptiste Lepilleur <gaiacrtn@free.fr> [4bf95bac1c38cc2963fd6d62fec100377548f8c3] + + Include/cppunit/plugin/TestPlugIn. + + include/cppunit/plugin/TestPlugIn.h: + * include/cppunit/plugin/TestPlugInDefaultImpl.h: added missing dllexport for CppUnitTestPlugIn. + +2009-11-24 Baptiste Lepilleur <gaiacrtn@free.fr> [e2e303fc1c7f3df20c8d910385d4628905904b37] + + Flush stdout & stderr in TestResult destructor to avoid message loss (bug #2832029) + + +2009-11-23 Baptiste Lepilleur <gaiacrtn@free.fr> [e629238d569f6fcf3477537a60a8f3db1fd1f962] + + Updated NEWS + + +2009-11-23 Baptiste Lepilleur <gaiacrtn@free.fr> [c1cdfdb27b547427ce1e4979d90cce8a6b7e3fec] + + Applied patch #2807259: lib -ldl... should be in LDADD instead of LDFLAGS + + +2009-11-23 Baptiste Lepilleur <gaiacrtn@free.fr> [0d84942fe26ec3c087d48c67d75c74b50eafb141] + + Added missing entries to change log since release 1.12.1 + + +2008-12-16 Andy Dent <andydent@sourceforge.net> [0b38bb7e2bd6d1136249905096ed200b924bec5c] + + Added updated project and instructions for building under Visual Studio.Net 2008 + + +2008-10-12 Baptiste Lepilleur <gaiacrtn@free.fr> [c5fb1a4ce7e7f13ad12d4262f19bb460d23b7e3e] + + doc/cookbook.dox: fixed typos. + + +2008-10-11 Steve M. Robbins <smr@sumost.ca> [2e6c96fe712bd7a4c42ac7bb24decf0aee0aee85] + + Bug 1649369: Flush stdCOut after startTest() and addFailure(). Fix from the supplied flush patch. + + +2008-06-08 Paul Phillips <paulgersam@sourceforge.net> [d4c20be92175023027b6d9f1b41c748bf286bbc8] + + Added extra ./configure option for compiling on IRIX 6 / MIPSpro. From Bug #846195 + + +2008-02-21 Steve M. Robbins <smr@sumost.ca> [e090e64a05c8aa899d48941a259124e7aaad6d63] + + Replace deprecated CPPUNIT_TEST_EXCEPTION with code using CPPUNIT_ASSERT_THROW. + + +2008-02-21 Steve M. Robbins <smr@sumost.ca> [a5a498561726d1396a681d1a8061156b90a56ec7] + + Changes to suppress warnings of gcc -Wall -W -ansi, mainly from patch [1898225]. + + +2008-02-20 Steve M. Robbins <smr@sumost.ca> [4d73457619973f386444f86be1bf0f00a7093595] + + Update version to create release 1.12.1. + + +2008-02-07 Steve M. Robbins <smr@sumost.ca> [db39ace10fc2db53542231ac9747405d32f8ea91] + + Change from qlist.h to qptrlist.h, avoiding compatibility header. + + +2007-03-05 Steve M. Robbins <smr@sumost.ca> [74b3222b58ac7fc3ac2740ab121586a5ac4ef8fe] + + Make floatingPointIsFinite() return int. Fix comment about comparisons and IEEE NaN. + + +2007-02-25 Baptiste Lepilleur <gaiacrtn@free.fr> [82fb2eaf5c99b6399824128495af32c8c0570df8] + + doc/cookbook.dox: changed suite() to return a TestSuite instead of a Test to avoid introducing unnecessary complexity. + + +2007-02-25 Baptiste Lepilleur <gaiacrtn@free.fr> [c0df7c41b7a5aff0aece75aeb17b291f905d979d] + + - removed wrong comment. + + +2007-02-25 Steve M. Robbins <smr@sumost.ca> [ae47c6cf9ed97e6c1b81b3586fff5c96806d4a40] + + Portability/FloatingPoint.h must include Portability.h + + +2007-02-24 Baptiste Lepilleur <gaiacrtn@free.fr> [0d30a2aec28085cfb9fe359c321c289609b884ca] + + Src/cppunit/TestAssert. + + src/cppunit/TestAssert.cpp (assertDoubleEquals): Moved finite & NaN + tests to include/cppunit/portability/FloatingPoint.h. Changed + implementation assertDoubleEquals to explicitly test for NaN + in case of non-finite values to force equality failure in the + presence of NaN. Previous implementation failed on Microsoft + Visual Studio 6 (on this platform: NaN == NaN). + * examples/cppunittest/TestAssertTest.cpp: Add more unit tests to + test the portable floating-point primitive. Added missing + include <limits>. + + * include/cppunit/portability/Makefile.am: + * include/cppunit/portability/FloatingPoint.h: Added file. Extracted + isfinite() from TestAssert.cpp. + + * include/cppunit/config-evc4: + * include/cppunit/config-msvc6: Added support for _finite(). + +2007-01-31 Steve M. Robbins <smr@sumost.ca> [3ca9c5d071cb8162c89fd514a6116ee6b450d763] + + Add tests of the precision generated by assertion_traits<double>::toString(). + + +2007-01-27 Steve M. Robbins <smr@sumost.ca> [92e722a21bb507165d4895c9a9aa92e53a1241ec] + + Remove declaration of unimplemented functions testAssertDoubleNotEquals1 and testAssertDoubleNotEquals2. + + * examples/cppunittest/TestAssertTest.cpp: + * examples/cppunittest/TestAssertTest.h: Remove declaration of + unimplemented functions testAssertDoubleNotEquals1 and + testAssertDoubleNotEquals2. Factor new method + testAssertDoubleNonFinite out of existing testAssertDoubleEquals. + +2007-01-27 Steve M. Robbins <smr@sumost.ca> [50c65db468b6d10ad8fb42b50e7ea87367c21309] + + Apply patch to fix [ 1293903 ] UNICODE Builds not supported + + +2007-01-27 Steve M. Robbins <smr@sumost.ca> [5542cdca278b1e7070b7c01c3efb086d965628af] + + Note that CPPUNIT_ASSERT_DOUBLES_EQUAL handles non-finite numbers. + + +2007-01-27 Steve M. Robbins <smr@sumost.ca> [edb4a1eb21e2b87761006d1ba2c5600aa46e398f] + + Make sure that CPPUNIT_ASSERT_DOUBLES_EQUAL() properly handles non-finite values. + + +2007-01-27 Steve M. Robbins <smr@sumost.ca> [2ebab48667084132c42cb033e82b89a12c375e1c] + + Add unit tests for CPPUNIT_ASSERT_DOUBLES_EQUAL() that test with non-finite values. + + +2007-01-27 Steve M. Robbins <smr@sumost.ca> [d55799b544efac8b1d822dfa8b0ea4813a2d3ef0] + + Account for non-finite values in assertDoubleEquals(). + + Conditional inclusion of cmath rather than math.h removed since (1) it + was never used as HAVE_CMATH is never defined, and (2) cmath may move + isfinite() into namespace std. + +2007-01-27 Steve M. Robbins <smr@sumost.ca> [24f2ebadc613b96c00233969e251bfbc9cd79f9e] + + Check for isfinite() and finite(). + + +2007-01-27 Steve M. Robbins <smr@sumost.ca> [7d6214cd9c59476a1c07a4257dcc8e2665b6696e] + + New autoconf macro to test for isfinite() in C++ mode. + + +2007-01-24 Steve M. Robbins <smr@sumost.ca> [0472e3e22cd087cd4e855888280bc8e66708b1d9] + + Update email address of Steve M. Robbins + + +2007-01-12 Steve M. Robbins <smr@sumost.ca> [23c7ea0eeb8eb15b310475b08cf2418ef3035ae8] + + Arrange class initializers in correct order. + + +2007-01-12 Steve M. Robbins <smr@sumost.ca> [f3c96127c3603c7f28f76b8996444c7d56c65dee] + + Ensure virtual class has virtual destructor. + + +2007-01-12 Steve M. Robbins <smr@sumost.ca> [b112c6d9ec9d7313d3befb6f20f55bacaa546149] + + Put a C++ statement in the first argument of CPPUNIT_ASSERT_THROW() and CPPUNIT_ASSERT_NO_THROW(). + + +2007-01-12 Steve M. Robbins <smr@sumost.ca> [cc05d17f0e333f1873db4f4beb463ba9af18ee3e] + + Fix examples/hierarchy to actually return the result of the tests. It is expected to fail, so mark it using XFAIL_TESTS in Makefile.am. + + +2007-01-12 Steve M. Robbins <smr@sumost.ca> [3fbaedada4d085493fb04915e589dd1e67ac8575] + + Do not fail dist-hook if $(distdir)/lib exists. + + +2007-01-12 Steve M. Robbins <smr@sumost.ca> [c89f6038418f7506fae80aa49a87c5cc2f3c43f3] + + Add quotes around autoconf macro name, BB_ENABLE_DOXYGEN. + + +2006-10-26 Baptiste Lepilleur <gaiacrtn@free.fr> [f8829a4a51a68df2f2acf7efc9700bec2f028a48] + + - fixed some compilation issues for QtTestRunner. + + +2006-07-28 Baptiste Lepilleur <gaiacrtn@free.fr> [1ac6e21ad18088cc5efdf4dec8a0eba64d87f382] + + Src/msvc6/TesRunner/TestRunner. + + src/msvc6/TesRunner/TestRunner.rc: + * src/msvc6/testpluginrunner/TestPlugInRunner.rc: Fixed bug #1528212 + (some resources wrongly tagged as French). + +2006-07-28 Baptiste Lepilleur <gaiacrtn@free.fr> [2cee43d2ed587929aeeb165c0110c2d10d19c830] + + Makefile. + + Makefile.am: + * lib/.keepme: added dummy file to prevent lib/ removal by some + unzip clients. Fixed bug #1527877 . + +2006-07-25 Baptiste Lepilleur <gaiacrtn@free.fr> [90ab62e3b8f9ff03448eab66e863a9bc090223e8] + + - fixed bug #1527879 (SourceSafe traces in project) + + +2006-06-29 Baptiste Lepilleur <gaiacrtn@free.fr> [f2d0f109152632593d39eea8120e64c9d818e071] + + - bumped version to 1.12.0 + + +2006-06-29 Baptiste Lepilleur <gaiacrtn@free.fr> [0c6927e4b1265c282e52dee3fb920321194d80bb] + + - fixed doc typos. + + +2006-06-29 Baptiste Lepilleur <gaiacrtn@free.fr> [66b4bab4a576af8f730f3d00b0aeec61fdf02f20] + + - fixed doc typos. + + +2006-06-29 Baptiste Lepilleur <gaiacrtn@free.fr> [f6eb27936699b0b26f6d923656e70447aa33c9c5] + + src/msvc6/testrunner/MsDevCallerListCtrl.cpp: applied correction provided to fix bug #1498175 (double click on failure does not goto failure). + + +2006-06-29 Baptiste Lepilleur <gaiacrtn@free.fr> [ba9d97dc78c69d45d769101f13bbfd33f2c66a9b] + + - updated e-mail. + + +2006-06-29 Baptiste Lepilleur <gaiacrtn@free.fr> [0c70bf45ea4fea57dc425a30ad72d065e4c425de] + + doc/header.html: updated to handle new tabs css required for html doc generated with doxygen 1.4.7. + + +2006-06-29 Baptiste Lepilleur <gaiacrtn@free.fr> [5db9f86a3c08232a0b8062ef81e8a48a5c0e9bc4] + + autogen.sh: applied patch #1449380 to allow running autogen on Mac OS X. + + +2006-06-29 Baptiste Lepilleur <gaiacrtn@free.fr> [69c60785e482690717ac340778b3654ba3ffed0b] + + Include/cppunit/ui/text/TextTestRunner. + + include/cppunit/ui/text/TextTestRunner.h + * src/cppunit/TextTestRunner.cpp: applied patch #1210013 to remove + hidden virtual function warning. + +2006-06-05 Baptiste Lepilleur <gaiacrtn@free.fr> [599738e4bc8d0a7790a99e1f888fb32f905a9b5e] + + added simple script to update cvs root (handle new sourceforge cvs server naming) + + +2006-03-05 Baptiste Lepilleur <gaiacrtn@free.fr> [b5125e8dfb606c70bc7d518bb9caf3921f621e3c] + + updated release procedure + + +2006-03-05 Baptiste Lepilleur <gaiacrtn@free.fr> [504a2fd2a0af68de4ecbc576845fde5b50c0210b] + + Release 1.11.6 + + +2006-03-04 Baptiste Lepilleur <gaiacrtn@free.fr> [fe03bbd48ee7f2afdd2b5ff043bc57053fbc2ec1] + + Cppunit. + + cppunit.pc.in: + * configure.in: + * Makefile.am: integrated patch from Rober Leight to generate pkg-config. + +2006-03-04 Baptiste Lepilleur <gaiacrtn@free.fr> [cb3b9b3e6825a186e1978eb238a60bc3fc78a75b] + + removed divideByZero test as it cause crashes on some platforms. + + +2006-03-04 Baptiste Lepilleur <gaiacrtn@free.fr> [aa1a3b17223c8a96295244e69d847112988ef47e] + + Removed debian/ directory. + + removed debian/ directory. An up to date patch can be found at: + packages.debian.org. + * cppunit.spec.in: applied patch #1242905 partially (%post and %postun). + +2006-03-04 Baptiste Lepilleur <gaiacrtn@free.fr> [46d19b63d365b5e726d6a5e125c723f083f50dfc] + + contrib/xml-xsl/report.xsl: reported correction posted on the wiki. + + +2006-02-04 Baptiste Lepilleur <gaiacrtn@free.fr> [68dfca74618671fcf87182ec7e4a0636f7160516] + + removed compilation warning + + +2006-02-01 Baptiste Lepilleur <gaiacrtn@free.fr> [2d1d28c91ead3d5e1676ec138e44c26b1c5a1b5c] + + Examples/qt: integrated Ernst patch from qt examples. + + +2005-12-12 Baptiste Lepilleur <gaiacrtn@free.fr> [9d4a769ee6f24f0102c788112b0223fe1531a0c8] + + Integrated Ernst patch for QtTestRunner and Qt 3. + + integrated Ernst patch for QtTestRunner and Qt 3.x. + * upgrade QtTestRunner to Qt 3.x + * enhanced qmake project files to handle multiple build configuration + +2005-11-27 Baptiste Lepilleur <gaiacrtn@free.fr> [14f75b034e693de1aee91a8d3de050dc2a7b7c95] + + doc/cookbook.dox: fixed type (patch #1334567) + + +2005-11-07 Baptiste Lepilleur <gaiacrtn@free.fr> [56803a0db1161314cb9a0420d48c72bec6cfb9c8] + + release 1.11.4 + + +2005-11-06 Baptiste Lepilleur <gaiacrtn@free.fr> [851100400615896cca5e5c92151126f6b9a1fce5] + + Include/cppunit/config/SourcePrefix. + + include/cppunit/config/SourcePrefix.h: disable warning #4996 + (sprintf is deprecated) for visual studio 2005. + + * include/cppunit/TestAssert.h: use sprintf_s instead of sprintf for + visual studio 2005. + + * examples/ClockerPlugIn/ClockerPlugIn.cpp + * examples/DumperPlugIn/DumperPlugIn.cpp: use SourcePrefix.h. Fixed + wrong macro usage to implement DllMain. + + * examples/msvc6/HostApp/ExamplesTestCase.h + * examples/msvc6/HostApp/ExamplesTestCase.cpp + * examples/simple/ExamplesTestCase.h + * examples/simple/ExamplesTestCase.cpp: removed divideByZero test case + as it cause some crash on some platforms. + +2005-10-27 Baptiste Lepilleur <gaiacrtn@free.fr> [c83c8c190636bdfe2acac888c8bc7f326320094e] + + made sure Portability.h is included... + + +2005-10-27 Baptiste Lepilleur <gaiacrtn@free.fr> [a76879fc6a9ca3d5d243c1b53cf32414cf8a01db] + + include/cppunit/TestAssert.h: added missing #include <stdio.h> + + +2005-10-14 Baptiste Lepilleur <gaiacrtn@free.fr> [2a0b3b646cb997c2050f545e30076cb823afe886] + + removed most warning when compiling with vc++ 6sp6. + + +2005-10-14 Baptiste Lepilleur <gaiacrtn@free.fr> [468098947549fdeb106197a7fe2b97bb811a301b] + + bumped version to 1.11.2 + + +2005-10-13 Baptiste Lepilleur <gaiacrtn@free.fr> [f109fc72e8adcb0a725957509f36638465f56efe] + + better float & double string conversion + + +2005-10-13 Baptiste Lepilleur <gaiacrtn@free.fr> [94f55eaeccfcc054780f542ef4744e978f16a4e9] + + Removed most warning when compiling with vc++ 6sp6. + + removed most warning when compiling with vc++ 6sp6. + * added assert equal usage + +2005-10-13 Baptiste Lepilleur <gaiacrtn@free.fr> [6488278b8a805164ed5825e74d71c674e3621cfe] + + removed most warning when compiling with vc++ 6sp6. + + +2005-10-13 Baptiste Lepilleur <gaiacrtn@free.fr> [5be2e1adea142d98f96d61718d70c48a0961e609] + + removed most warning when compiling with vc++ 6sp6. + + +2005-08-02 Baptiste Lepilleur <gaiacrtn@free.fr> [af164e4c6df13403d5eeab6b5e7bdb4e209d0abd] + + fixed documentation typo. + + +2005-07-30 Baptiste Lepilleur <gaiacrtn@free.fr> [9415e6166a3624e0e37eaaaf00e419df8347dba3] + + include/cppunit/config/config-msvc6.h: added missing macro definition CPPUNIT_HAVE_CPP_CAST. + + +2005-07-30 Baptiste Lepilleur <gaiacrtn@free.fr> [19427bd102eb200956a2d683081513f7b39cae6c] + + fixed typo. + + +2005-07-30 Baptiste Lepilleur <gaiacrtn@free.fr> [0a2cd9459ad5b1d7cea32cdd48c88f3e58803591] + + Include/cppunit/config/config-msvc6. + + include/cppunit/config/config-msvc6.h: auto-detect if RTTI are enabled + the _CPPRTTI macro (defined by the compiler when enabling RTTI). + + * src/cppunit/TestResultCollector.cpp: fixed memory leak in destructor. + +2005-07-30 Baptiste Lepilleur <gaiacrtn@free.fr> [d3e2acd9fb3649ec5a946fc93f431abe49f7f297] + + include/cppunit/config/config-msvc6.h: auto-detect if RTTI are enabled the _CPPRTTI macro (defined by the compiler when enabling RTTI). + + +2005-07-30 Baptiste Lepilleur <gaiacrtn@free.fr> [1e224c765eeb0cd576d16d2c9c5791bdf475acfa] + + src/cppunit/TestResultCollector.cpp: fixed memory leak in destructor. + + +2005-07-15 Baptiste Lepilleur <gaiacrtn@free.fr> [523b8b2eb5154d6508b20401173395e7003bf36a] + + Convert msvc project using dos eol + + +2005-07-15 Baptiste Lepilleur <gaiacrtn@free.fr> [41639661afc2e923e2027cef7bed5c5da3df5ebe] + + Release 1.11.0 + + +2005-07-15 Baptiste Lepilleur <gaiacrtn@free.fr> [ba4b216a0b6a493dd13be127574683509902264e] + + release 1.11.0 + + +2005-07-15 Baptiste Lepilleur <gaiacrtn@free.fr> [7bdb8b0cd7c729caebf2883a2819e7c2e3bd210a] + + cppunit.spec.in: Applied patch #1232555 from Patrice Dumas. This file is use for RPM packaging. + + +2005-07-15 Baptiste Lepilleur <gaiacrtn@free.fr> [3ece1167b80d0f6abf18077fe5bb50fce6f3d3ab] + + Development snapshot release 1.11.0. + + +2005-07-15 Baptiste Lepilleur <gaiacrtn@free.fr> [eb0ea9d72dbd1af37352cd7012dd1023ca006857] + + config/bb_enable_doxygen.m4: Rolled back Brad Hards patch as it break generation of doc/Makefile.am. + + +2005-07-15 Baptiste Lepilleur <gaiacrtn@free.fr> [f2eb31faded5c473a3e9d33a35b53e76a1a07519] + + Rolled back Brad Hards patch. Cause doc/Makefile.am generation error + + +2005-07-09 Baptiste Lepilleur <gaiacrtn@free.fr> [cc896a6ecff4ef37ec7783b5cf5595990b5848c4] + + doc/money.dox: fixed bad usage of CPPUNIT_ASSERT_EQUALS. + + +2005-07-09 Baptiste Lepilleur <gaiacrtn@free.fr> [4f9eb6fa36b587a501e30f05baa0107a0a22fa6e] + + config/bb_enable_doxygen.m4: applied Brad Hards patch to remove warning when running ./autogen.sh or aclocal. + + +2005-07-09 Baptiste Lepilleur <gaiacrtn@free.fr> [4ec392def4a1b088b0b0c9d6fe6902fffbc4bd94] + + Doc/Money. + + doc/Money.dox: + * include/cppunit/TestSuite.h: + * include/cppunit/XmlOutputterHook.h: applied Brad Hards patch + that correct miscellaneous doc generation issues (unescaped <>, \...). + + * include/cppunit/plugin/TestPlugIn.h: + * include/cppunit/CompilerOutputter.h: + * doc/CppUnit-win.dox: removed a few documentation generation warnings. + + * include/cppunit/plugin/TestPlugIn.h: + * include/cppunit/CompilerOutputter.h: + * doc/CppUnit-win.dox: removed a few documentation generation warnings. + +2005-07-06 Baptiste Lepilleur <gaiacrtn@free.fr> [c488ed5434ecab7fe155acc77fa054ddd2d23e61] + + Examples/simple/Makefile.am: do not install 'simple' programm (patch #1230784). + + +2005-07-05 Baptiste Lepilleur <gaiacrtn@free.fr> [89a9cb09246597740711e4d7388cf2314109ea70] + + Fixed memory leak occuring when calling reset(). + + * include/cppunit/TestResultCollector.h + * src/cppunit/TestResultCollector.cpp: fixed memory leak + occuring when calling reset(). + + * src/cppunit/DllMain.cpp: added work-around for mingw compilation + for BLENDFUNCTION macro issue when including windows.h. + + * src/qttestrunner/TestRunnerDlgImpl.cpp: fixed display of multiline + messages. + + * include/cppunit/Portability.h: better integration of compiler output + for gcc on Mac OS X with Xcode (contributed by Claus Broch). + +2005-07-05 Baptiste Lepilleur <gaiacrtn@free.fr> [df5f25870ead25e99a0aa55f5183e00e47475867] + + fixed a bunch of typos reported by Dave Dibble. + + +2005-07-05 Baptiste Lepilleur <gaiacrtn@free.fr> [652d51e653568fbf652a248c7b9e01e72e6ec50f] + + Fixed sample unix sample makefile LDFLAGS duplication + + fixed sample unix sample makefile LDFLAGS duplication + * m_currency member initialization + +2005-07-05 Baptiste Lepilleur <gaiacrtn@free.fr> [68e28a16e08d031634dd655c84a04a1bc46a28e2] + + fixed 'return wasSuccessful' instead of '!wasSuccessful.' + + +2005-06-14 Baptiste Lepilleur <gaiacrtn@free.fr> [9efb5318f845c9f5d90a8a5c3bc6cec6ea82cc60] + + Contrib/xml-xsl/cppunit2junit. + + contrib/xml-xsl/cppunit2junit.txt + * contrib/xml-xsl/cppunit2junit.xsl + * contrib/readme.txt: XSLT for compatibility with Ant junit xml formatter. + Patch #1112053 contributed by Norbert Barbosa. + +2005-06-14 Baptiste Lepilleur <gaiacrtn@free.fr> [f267542d4b5c64fd565ce8be950e274ee4b96136] + + cppunit.m4: applied patch #1076398 contributed by Henner Sudek. Fix version number comparison in AM_PATH_CPPUNIT. + + +2005-06-14 Baptiste Lepilleur <gaiacrtn@free.fr> [526cb25b7aeba90c8f5b93d74d713d0af79a3bd2] + + MinGW, cygwin: enable build of shared library when using libtool. patch #1194394 contributed by Stéphane Fillod. + + +2005-06-14 Baptiste Lepilleur <gaiacrtn@free.fr> [2777d462a0ed2c1b3ad5f183ec6d4094d3f26db4] + + fixed post-build step for running test in vc++ + + +2005-06-14 Baptiste Lepilleur <gaiacrtn@free.fr> [3fda497e389ae30f9962529eb9509ccc7ecb8090] + + src/msvc6/testrunner/ProgressBar.cpp: applied patch from bug #1165875, (use system color for border instead of hard-coded color). + + +2005-06-14 Baptiste Lepilleur <gaiacrtn@free.fr> [1c328b15a649b82882f5741949bd15b4ebf44747] + + src/msvc6/testrunner/ProgressBar.cpp: applied patch from bug #1165875, (use system color for border instead of hard-coded color). + + +2005-02-23 Baptiste Lepilleur <gaiacrtn@free.fr> [4c83a9823fa2839e975239cd4979955db7b6fd75] + + Examples/hierarchy/BoardGameTest. + + examples/hierarchy/BoardGameTest.h: + * examples/hierarchy/ChessTest.h: fixed compilation issue, prefixed access + to class member with 'this' (inheriting from template parameter + dependent class). + +2004-11-19 Baptiste Lepilleur <gaiacrtn@free.fr> [9fd94c8d4923767723045ad7832ffe10122114c9] + + src/cppunit/Win32DynamicLibraryManager.cpp: integrated patch #1024428, MinGW compilation under Windows XP. + + +2004-11-19 Baptiste Lepilleur <gaiacrtn@free.fr> [bbedb2fe6ecb05b6a6d48e63c9f09cc9c7768b5c] + + Include/cppunit/Message. + + include/cppunit/Message.h + * include/cppunit/SourceLine.h: + * src/cppunit/Message.cpp: + * src/cppunit/SourceLine.cpp: provided thread-safe copy constructor on + platform that do not provide thread-safe copy constructor for std::string. + +2004-11-19 Baptiste Lepilleur <gaiacrtn@free.fr> [707400b4c6de94a22075b17d8d4ef08fa75813d9] + + added specific copy constructor implementatin to ensure string buffer are detached during copy (therefore providing thread-safe copy constructor for non thread-safe std::string copy constructor implementation). + + +2004-11-08 Baptiste Lepilleur <gaiacrtn@free.fr> [e321ba14ae0d69ee07bb90fdb6393b8173809644] + + added new line at the end of the file. + + +2004-11-08 Baptiste Lepilleur <gaiacrtn@free.fr> [82e2fa96eada0b1c33b188c2e6e5f5cc8656aaa9] + + include/cppunit/TestAssert.h: fixed portability bug pointed out by Neil Ferguson. + + +2004-11-06 Baptiste Lepilleur <gaiacrtn@free.fr> [a3f4660a90cd14b3ac345e06dcee24ff3570539c] + + include/cppunit/Portability.h: fixed EVC++ 4 detection. + + +2004-11-06 Baptiste Lepilleur <gaiacrtn@free.fr> [9bad41893a55777868a84125fae10aa491cb7abc] + + include/cppunit/TestAssert.h: integrated Neil Ferguson patch for high precision conversion to string for double number. Modified the patch to works even if DBL_DIG C99 macro is not defined. + + +2004-11-05 Baptiste Lepilleur <gaiacrtn@free.fr> [e298c653900aa83d02c50b6edd541668ba5002f0] + + Include/cppunit/TestAssert. + + include/cppunit/TestAssert.h: + * src/cppunit/TestAssert.cpp: integrated Neil Ferguson patch for missing + _MESSAGE assertion variants. Also enhanced the failure message of a + few assertions. + +2004-09-10 Baptiste Lepilleur <gaiacrtn@free.fr> [23538b49b25d11680566e8203a618b21acc83c77] + + Src/msvc6/testrunner/MsDevCallerListCtrl. + + src/msvc6/testrunner/MsDevCallerListCtrl.cpp: + * src/msvc6/testrunner/MsDevCallerListCtrl.h: integrated go to source line + features on double click contributed by Max Quatember and + Andreas Pfaffenbichler. + +2004-09-10 Baptiste Lepilleur <gaiacrtn@free.fr> [eaaedf9da51e4d2335315ae863d1e881083a5354] + + added error message if attempting to compile on a platform other than VC++ 6. + + +2004-09-02 Baptiste Lepilleur <gaiacrtn@free.fr> [f35539a72aa43a56e6ee10d94bc62581f66e6a93] + + Added missing operator <<( const char + + added missing operator <<( const char * ) + +2004-09-01 Baptiste Lepilleur <gaiacrtn@free.fr> [87051183eea0f573bd4f3521446d7eb4da4622be] + + Include/cppunit/XmlOutputter. + + include/cppunit/XmlOutputter.h: + * include/cppunit/tools/XmlDocument.h + * src/cppunit/XmlDocument.cpp: + * src/cppunit/XmlOutputter.cpp: integrated patch #997006 from Akos Maroy. + This patch makes the 'standalone' attribute in XML header optional. + +2004-06-25 Baptiste Lepilleur <gaiacrtn@free.fr> [4a003a878cfff870c7b2417c824042af0af60d59] + + Include/cppunit/Portability. + + include/cppunit/Portability.h: moved OStringStream alias definition to + Portability/Stream.h. User need to define EVC4 to indicate that + config-evc4.h should be used. (how to we detect this automatically ?). + Notes that this means it might be needed to add #include <string> to some + headers since its no longer included by Portability.h. + + * include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(), + and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides + our own implementation (based on sprintf and fwrite). + + * include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4. + Still need to detect for this platform in Portability.h (currently relying on + EVC4 being defined...) + + * *.[cpp/h]: most source files have been impacted with the following change: + #include <iostream> -> #include <cppunit/Portability/Stream.h> + std::ostream -> CPPUNIT_NS::OStream + std::ofstream -> CPPUNIT_NS::OFileStream + std::cout -> CPPUNIT_NS::stdCOut() + std::endl -> "\n" + Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined. + The exact list of impact files can be obtain in CVS using tags: + TG_CPPUNIT_NO_STREAM_BEFORE & TG_CPPUNIT_NO_STREAM_AFTER. + +2004-06-25 Baptiste Lepilleur <gaiacrtn@free.fr> [07996b853a4b796ea6867f7c4a1b36a625cc8390] + + Include/cppunit/Portability. + + include/cppunit/Portability.h: moved OStringStream alias definition to + Portability/Stream.h. User need to define EVC4 to indicate that + config-evc4.h should be used. (how to we detect this automatically ?). + Notes that this means it might be needed to add #include <string> to some + headers since its no longer included by Portability.h. + + * include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(), + and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides + our own implementation (based on sprintf and fwrite). + + * include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4. + Still need to detect for this platform in Portability.h (currently relying on + EVC4 being defined...) + + * *.[cpp/h]: most source files have been impacted with the following change: + #include <iostream> -> #include <cppunit/Portability/Stream.h> + std::ostream -> CPPUNIT_NS::OStream + std::ofstream -> CPPUNIT_NS::OFileStream + std::cout -> CPPUNIT_NS::stdCOut() + std::endl -> "\n" + Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined. + The exact list of impact files can be obtain in CVS using tags: + TG_CPPUNIT_NO_STREAM_BEFORE & TG_CPPUNIT_NO_STREAM_AFTER. + +2004-06-25 Baptiste Lepilleur <gaiacrtn@free.fr> [4481c860b0c1a419fa55aa7dfbfd06e84d2a1704] + + Include/cppunit/Portability. + + include/cppunit/Portability.h: moved OStringStream alias definition to + Portability/Stream.h. User need to define EVC4 to indicate that + config-evc4.h should be used. (how to we detect this automatically ?). + Notes that this means it might be needed to add #include <string> to some + headers since its no longer included by Portability.h. + + * include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(), + and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides + our own implementation (based on sprintf and fwrite). + + * include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4. + Still need to detect for this platform in Portability.h (currently relying on + EVC4 being defined...) + + * *.[cpp/h]: most source files have been impacted with the following change: + #include <iostream> -> #include <cppunit/Portability/Stream.h> + std::ostream -> CPPUNIT_NS::OStream + std::ofstream -> CPPUNIT_NS::OFileStream + std::cout -> CPPUNIT_NS::stdCOut() + std::endl -> "\n" + Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined. + The exact list of impact files can be obtain in CVS using tags: + TG_CPPUNIT_NO_STREAM_BEFORE & TG_CPPUNIT_NO_STREAM_AFTER. + +2004-06-25 Baptiste Lepilleur <gaiacrtn@free.fr> [212df8f138166ed053d63d6d54e1a1290e395ae5] + + Include/cppunit/Portability. + + include/cppunit/Portability.h: moved OStringStream alias definition to + Portability/Stream.h. User need to define EVC4 to indicate that + config-evc4.h should be used. (how to we detect this automatically ?). + Notes that this means it might be needed to add #include <string> to some + headers since its no longer included by Portability.h. + + * include/cppunit/Portability/Stream.h: define alias OStringStream, stdCOut(), + and OFileStream. If CPPUNIT_NO_STREAM is defined (evc4 config), then provides + our own implementation (based on sprintf and fwrite). + + * include/cppunit/config/config-evc4.h: config file for embedded visual c++ 4. + Still need to detect for this platform in Portability.h (currently relying on + EVC4 being defined...) + + * *.[cpp/h]: most source files have been impacted with the following change: + #include <iostream> -> #include <cppunit/Portability/Stream.h> + std::ostream -> CPPUNIT_NS::OStream + std::ofstream -> CPPUNIT_NS::OFileStream + std::cout -> CPPUNIT_NS::stdCOut() + std::endl -> "\n" + Also, code using std::cin as been defined out if CPPUNIT_NO_STREAM was defined. + The exact list of impact files can be obtain in CVS using tags: + TG_CPPUNIT_NO_STREAM_BEFORE & TG_CPPUNIT_NO_STREAM_AFTER. + +2004-06-19 Baptiste Lepilleur <gaiacrtn@free.fr> [d9353259d7f48a5497e72a257f2a549ba719bc0c] + + cppunit.m4: patch #946302, AM_PATH_CPPUNIT doesn't report result if CppUnit is missing. + + +2004-06-19 Baptiste Lepilleur <gaiacrtn@free.fr> [d124b155f3c4a942635f668941c08a6ada886309] + + cppunit.m4: patch #946302, AM_PATH_CPPUNIT doesn't report result if CppUnit is missing. + + +2004-06-19 Baptiste Lepilleur <gaiacrtn@free.fr> [07dd1768eb57e38705b7943181c549fecd3b0869] + + cppunit.m4: patch #946302, AM_PATH_CPPUNIT doesn't report result if CppUnit is missing. + + +2004-06-19 Baptiste Lepilleur <gaiacrtn@free.fr> [1c1af6e921e63af3f9f1a81a1e0a74d2531c4062] + + release 1.10.2 done + + +2004-06-18 Baptiste Lepilleur <gaiacrtn@free.fr> [c7c50322ad2cded059832f75333c4820779bbb08] + + Release 10.0.2 + + +2004-06-18 Baptiste Lepilleur <gaiacrtn@free.fr> [a2bd285d03987d8f4358523151543554a152324d] + + Src/msvc6/testrunner/TestRunnerDlg. + + src/msvc6/testrunner/TestRunnerDlg.h: + * src/msvc6/testrunner/TestRunnerDlg.cpp: + * src/msvc6/testpluginrunner/TestPlugIn.cpp: + * src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp: + * src/msvc6/testpluginrunner/TestPlugInRunnerModel.cpp: + * src/msvc6/testpluginrunner/TestPlugInRunnerModel.h: bug #952912, + memory leaks when loading/reloading plug-ins. + +2004-06-18 Baptiste Lepilleur <gaiacrtn@free.fr> [19ca7a3dced278cbc1144c6414a51f26ce92bdc8] + + added DEBUG_NEW for memory leaks tracking + + +2004-06-18 Baptiste Lepilleur <gaiacrtn@free.fr> [f6cd21bf8618c4671c52d704d99dc3edd17835f1] + + added a small note on how to try out the test plug in runner. + + +2004-06-18 Baptiste Lepilleur <gaiacrtn@free.fr> [2deded3ae4f749f68d951a0da701d27845f6a7c2] + + added a small notice for VC++ 7 + + +2004-06-18 Baptiste Lepilleur <gaiacrtn@free.fr> [79ed0ede91fa470bc5cbd15f79acd69487369a79] + + Src/ + + src/*/*.dsp: bug #933154, post build fail in directory with spaces. + +2004-06-18 Baptiste Lepilleur <gaiacrtn@free.fr> [a2d3d873f26eabdb63e3099be094dd6e07d63e35] + + updated release instruction + + +2004-06-18 Baptiste Lepilleur <gaiacrtn@free.fr> [8a5c5134d51ca4982b435a14e062bac6b5a49704] + + Src/DllPlugInTester/ + + src/DllPlugInTester/*.cpp: bug #941625, string literal using char * + instead of const char *. Patch contributed by Curt Arnold has been + applied. + +2004-06-18 Baptiste Lepilleur <gaiacrtn@free.fr> [3bbf1aebb2c0d461b03f6cd8e3b2f964f3d00aeb] + + Include/cppunit/extension/TestSuiteBuilderContext. + + include/cppunit/extension/TestSuiteBuilderContext.h: + * src/cppunit/TestSuiteBuilderContext.cpp: fixed bug #921843. This bug + was caused by a known STL bug in VC++ 6. + See http://www.dinkumware.com/vc_fixes.html <xtree> issue with shared + std::map in dll. As a work-around the map has been replaced by a vector. + +2004-06-17 Baptiste Lepilleur <gaiacrtn@free.fr> [e6ec20ed260093756f7c53007982b98db3a92438] + + Src/ + + src/*/*.dsp: bug #933154, post build fail in directory with spaces. + +2004-06-17 Baptiste Lepilleur <gaiacrtn@free.fr> [e9f2d7bcb6cc12025e6eedc2e89f928d1bbae70d] + + src/cppunit/TestPath.cpp: bug #938753, array bound read in splitPathString() with substr if an empty string is passed. + + +2004-06-17 Baptiste Lepilleur <gaiacrtn@free.fr> [f29095da66d810684c4e533ad506b109878e874d] + + src/cppunit/TestPath.cpp: bug #938753, array bound read in splitPathString() with substr if an empty string is passed. + + +2004-06-17 Baptiste Lepilleur <gaiacrtn@free.fr> [3c055ba1f3974f897500decae49f925bb7385f49] + + src/cppunit/TestPath.cpp: bug #938753, array bound read in splitPathString() with substr if an empty string is passed. + + +2004-06-17 Baptiste Lepilleur <gaiacrtn@free.fr> [5c9ce8e024326a9dc71c67463f0f75fbf8daed07] + + fixed typo (I'm doing too much python) + + +2004-06-17 Baptiste Lepilleur <gaiacrtn@free.fr> [de16a052d9a0d9c436845113bb15d1162f77cf63] + + doc/Makefile.am: fixed bug #940650 => cp -dpR, removed option -p since there is no link to preserve anyway (does not exist on SunOs). + + +2004-06-17 Baptiste Lepilleur <gaiacrtn@free.fr> [5615ce97bd9c465f6ae0d5ca0641ec5d7f0c5457] + + Include/cppunit/Portability. + + include/cppunit/Portability.h: + * include/cppunit/plugin/TestPlugIn.h: fixed report compilation issue + with mingw & cygwin. WIN32 is now always defined if _WIN32 is defined. + Bug #945737 & #930338. + +2004-06-16 Baptiste Lepilleur <gaiacrtn@free.fr> [3217c0e4adaaade5dfa18000fdce28c1a901390a] + + fixing project compilation settings (rtti not always enabled) + + +2004-06-15 Baptiste Lepilleur <gaiacrtn@free.fr> [5ea8214adc1be7619e7680aca112b4a42618877d] + + reseted interface age stuff + + +2004-06-14 Baptiste Lepilleur <gaiacrtn@free.fr> [569305464ad8a5a2a9d209d9600ef0bf2a80a215] + + updated for 1.10.0 + + +2004-04-09 Baptiste Lepilleur <gaiacrtn@free.fr> [8c293cd04eb172504f444c1a8eaeee741e8a68c3] + + clean up + + +2004-04-09 Baptiste Lepilleur <gaiacrtn@free.fr> [0fa2e7dece15cd470b6d2a8d2f2f29a9f31995f8] + + Release 1. + + release 1.10.0 + + * install-UNIX.txt: added some notes concerning Sun CC 5.5 & AIX. + +2004-03-13 Baptiste Lepilleur <gaiacrtn@free.fr> [aedca554f54f63a3617bccec0b62b0ee029c8e52] + + release 1.9.14 + + +2004-03-13 Baptiste Lepilleur <gaiacrtn@free.fr> [5bb46c2128a6e0b7c90e4fe64ef7c8e742cd94bc] + + removed usage of std::exception ctor with a string (gcc 2.95 issue) + + +2004-03-13 Baptiste Lepilleur <gaiacrtn@free.fr> [224cf85f2b7fd7ec47cda4788902996349f8c754] + + Examples/cppunittest/TestAssertTest. + + examples/cppunittest/TestAssertTest.h: + * examples/cppunittest/TestAssertTest.cpp: + * examples/cppunittest/XmlUniformiserTest.h: + * examples/cppunittest/XmlUniformiserTest.cpp: + * include/cppunit/TestAssert.h: add the exception assertion macros + from cppunit 2: CPPUNIT_ASSERT_THROW, CPPUNIT_ASSERT_NO_THROW, + CPPUNIT_ASSERT_ASSERTION_FAIL, CPPUNIT_ASSERT_ASSERTION_PASS. + Updated unit test to use and test the new macros. + + * include/cppunit/extensions/HelperMacros.h: deprecated the + test case factory that check for exception (CPPUNIT_TEST_FAIL & + CPPUNIT_TEST_EXCEPTION). + +2004-03-13 Baptiste Lepilleur <gaiacrtn@free.fr> [943bbb17d1339a3cae3b930e3f7f1cb2f9fec297] + + src/cppunit/UnixDynamicLibraryManager.cpp: applied patch #816563 from Gareth Sylvester. Adding RTLD_GLOBAL allows test plug-ins to provide symbols to shared objects they load themselves. + + +2004-03-13 Baptiste Lepilleur <gaiacrtn@free.fr> [b65ceb2d1c4c4fc1b56f0e04f4d7011cfd4d1a01] + + Examples/qt/Main. + + examples/qt/Main.cpp: + * examples/qt/ExampleTestCase.h: fixed bug #789672: QT example should + use CPPUNIT_NS macro. + +2004-03-13 Baptiste Lepilleur <gaiacrtn@free.fr> [80d86cc95af4d1b8249595786eac8bcd7e571f82] + + cppunit-config.in: bug #903363, missing -ldl from the output of cppunit-config --libs. Fixed thanks Eric Blossom patch. + + +2004-02-20 Baptiste Lepilleur <gaiacrtn@free.fr> [091e538074fb79d5c1bc29d79ac7f6933f96e8f1] + + configure.in: bumped version number to 1.9.13 + + +2004-02-19 Baptiste Lepilleur <gaiacrtn@free.fr> [60416b3ee8c85cd016d5ef5177cd4d93f8664398] + + configure.in: bumped version number to 1.9.12 + + +2004-02-19 Baptiste Lepilleur <gaiacrtn@free.fr> [f6afa1ea719406b84e0206814ab770daa777a19e] + + forked, development toward 1.10.0 are now taking place in branch BRANCH_1_9_12 until xml input stuff are integrated. + + +2004-02-18 Baptiste Lepilleur <gaiacrtn@free.fr> [b485fd01a1d36028b2baec5c503107cfb77c35b6] + + Configure. + + configure.in: + * makefile.am: + * config/ax_cxx_gcc_abi_demangle.m4: + * src/cppunit/TypeInfoHelper.cpp: added patch from + Neil Ferguson <nferguso@eso.org> to use gcc c++ abi to demangle typeinfo + name when available. + +2004-02-18 Baptiste Lepilleur <gaiacrtn@free.fr> [b11bd9019deef39ed969fab8b85771946b83d17b] + + Configure. + + configure.in: + * config/ax_cxx_gcc_abi_demangle.m4: + * src/cppunit/TypeInfoHelper.cpp: added patch from + Neil Ferguson <nferguso@eso.org> to use gcc c++ abi to demangle typeinfo + name when available. + +2003-07-20 Baptiste Lepilleur <gaiacrtn@free.fr> [90869fe73c518e3135906cd5648834366ada4299] + + include/cppunit/plugin/testplugin.h: fixed bug #767358, wrong preprocessor symbol for SHL_LOADER. + + +2003-06-05 Baptiste Lepilleur <gaiacrtn@free.fr> [1aaee3a9f07e5a88ef7334dbe4b3f4a8aa1c8fbf] + + removed obsolete bug + + +2003-05-20 Baptiste Lepilleur <gaiacrtn@free.fr> [e9cfdfdde9cba9d1258f56f3c483b950e38b2749] + + added configuration option for sun CC compiler + + +2003-05-15 Baptiste Lepilleur <gaiacrtn@free.fr> [341d0a8b1b645d4d125bedb11c4514fdbaf504ca] + + include/cppunit/config/config-msvc6.h: changed the compiler outputter default format (CPPUNIT_COMPILER_LOCATION_FORMAT) for Visual Studio 7.0. Assertion now appears in the task list. + + +2003-05-07 Baptiste Lepilleur <gaiacrtn@free.fr> [5ed43360c17c34b37e6f40cba39d8ce9e6d76e22] + + added new lines + + +2003-05-07 Baptiste Lepilleur <gaiacrtn@free.fr> [e574fbb976097a58401ef25033e8c8fb63510ace] + + added : small utility to updated all .cvsignore + + +2003-05-07 Baptiste Lepilleur <gaiacrtn@free.fr> [ea186c2750c58bf8fa00ec5a7549424e53d3c2e7] + + added to .cvsignore: SunWS_cache ir.out + + +2003-05-07 Baptiste Lepilleur <gaiacrtn@free.fr> [e055e1379963554932bf1e55ca3bb262a37e1038] + + INSTALL-unix: added build instruction for HP-UX. + + +2003-05-07 Baptiste Lepilleur <gaiacrtn@free.fr> [fcf9632822440fad1588dc076e734496591f18ab] + + Makefile. + + Makefile.am + * configure.in + * config/ac_dll.m4 + * examples/cppunittest/Makefile.am + * examples/hierarchy/Makefile.am + * examples/money/Makefile.am + * examples/simple/Makefile.am + * include/cppunit/config/SelectDllLoader.h + * include/cppunit/plugin/TestPlugIn.h + * include/cppunit/tools/Algorithm.h + * src/DllPlugInTester/Makefile.am + * src/cppunit/Makefile.am + * src/cppunit/TestDecorator.cpp + * src/cppunit/ShlDynamicLibraryManager.cpp + * src/cppunit/UnixDynamicLibraryManager.cpp + * src/cppunit/Win32DynamicLibraryManager.cpp: applied patch from + Abdessattar Sassi <abdesassi@users.sourceforge.net> to add support + for plug-in to hp-ux (patch #721546). + +2003-05-07 Baptiste Lepilleur <gaiacrtn@free.fr> [ad7d9b040b7a78e7ac14f7d3556b2eb5f09f5b81] + + Makefile. + + Makefile.am + * configure.in + * config/ac_dll.m4 + * examples/cppunittest/Makefile.am + * examples/hierarchy/Makefile.am + * examples/money/Makefile.am + * examples/simple/Makefile.am + * include/cppunit/config/SelectDllLoader.h + * include/cppunit/plugin/TestPlugIn.h + * include/cppunit/tools/Algorithm.h + * src/DllPlugInTester/Makefile.am + * src/cppunit/Makefile.am + * src/cppunit/TestDecorator.cpp + * src/cppunit/ShlDynamicLibraryManager.cpp + * src/cppunit/UnixDynamicLibraryManager.cpp + * src/cppunit/Win32DynamicLibraryManager.cpp: applied patch from + Abdessattar Sassi <abdesassi@users.sourceforge.net> to add support + for plug-in to hp-ux. + +2003-05-07 Baptiste Lepilleur <gaiacrtn@free.fr> [31ca191eaeffb4288f01b78d64535c70a07473f2] + + hpux support for plugins + + +2003-05-07 Baptiste Lepilleur <gaiacrtn@free.fr> [346b83803ad1329957ddc94380168fdb106f9d3f] + + include/cppunit/extensions/Makefile.am: removed TestSuiteBuilder.h + + +2003-04-06 Baptiste Lepilleur <gaiacrtn@free.fr> [965425ea6d164a498e1349337a885fcc64b9b19f] + + include/cppunit/extensions/TestSuiteBuilder.h: removed (unused) + + +2003-03-31 Baptiste Lepilleur <gaiacrtn@free.fr> [af6bbfefca62714505166f7183c7be8d58d67615] + + src/cppunit/DynamicLibraryManager.cpp: fixed compilation issue on Mingw (bug #711583) + + +2003-03-20 Baptiste Lepilleur <gaiacrtn@free.fr> [648770ade19b53b6b845853cdf6bb54b82517363] + + Include/cppunit/extensions/TestNamer. + + include/cppunit/extensions/TestNamer.h: + * src/cppunit/TestNamer.cpp: Fixed bug #704684, TestNamer has non-virtual + destructor. + +2003-03-15 Baptiste Lepilleur <gaiacrtn@free.fr> [0cc133fe16dbae50a9695b862d018602c62374c0] + + added missing project file + + +2003-03-15 Baptiste Lepilleur <gaiacrtn@free.fr> [8dfa4eff94da388729ebb77fa804d3f37ad62fbb] + + added missing project file + + +2003-03-15 Baptiste Lepilleur <gaiacrtn@free.fr> [abf432989fde2d72cc56b8b1c8c825efd3ce15eb] + + src/msvc6/testrunner/TestRunnerDlg.cpp: switched to using unsigned index in loop to avoid signed/unsigned warning in vc7. + + +2003-03-15 Baptiste Lepilleur <gaiacrtn@free.fr> [25199d28cba480b4649d6e1a8dea3204094ea51f] + + Src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx. + + src/msvc6/testrunner/DynamicWindow/cdxCDynamicWndEx.cpp: + * examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp: + * examples/msvc6/HostApp/HostApp.cpp: + * src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp: fixed compatibility + issues with vc7 MFC. + +2003-03-15 Baptiste Lepilleur <gaiacrtn@free.fr> [a8f845cd8a0287e0f2827504a709035544521454] + + src/msvc6/testrunner/TestRunnerDlg.cpp: switched to using unsigned index in loop to avoid signed/unsigned warning in vc7. + + +2003-03-15 Baptiste Lepilleur <gaiacrtn@free.fr> [80c853f8846ff2f48841ebf2f7b202e3b9a95195] + + Include/cppunit/tools/Algorithm. + + include/cppunit/tools/Algorithm.h: + * examples/cppunittest/XmlOutputterTest.cpp: + * examples/cppunittest/XmlUniformiser.*: + * src/cppunit/CompilerOutputter.cpp: + * src/cppunit/ProtectorChain.cpp: + * src/cppunit/StringTools.cpp: + * src/cppunit/TestPath.cpp: + * src/cppunit/TypeInfoHelper.cpp: + * src/cppunit/XmlElement.cpp: + * src/cppunit/XmlOutputter.cpp: + * src/DllPlugInTester/CommandLineParser.h: + * src/msvc6/testrunner/TestRunnerDlg.cpp: switched to using unsigned index in loop to + avoid signed/unsigned warning in vc7. + +2003-03-15 Baptiste Lepilleur <gaiacrtn@free.fr> [c3e47a72d32847f730fc433942fd4e25a4cb3b1c] + + Include/cppunit/tools/Algorithm. + + include/cppunit/tools/Algorithm.h: + * src/cppunit/CompilerOutputter.cpp: + * src/cppunit/ProtectorChain.cpp: + * src/cppunit/StringTools.cpp: + * src/cppunit/TestPath.cpp: + * src/cppunit/TypeInfoHelper.cpp: + * src/cppunit/XmlElement.cpp: + * src/cppunit/XmlOutputter.cpp: switched to using unsigned index in loop to + avoid signed/unsigned warning in vc7. + +2003-03-15 Baptiste Lepilleur <gaiacrtn@free.fr> [3ffdb56a3c368b8b9c227e4ad2e1e0cbc2c494f3] + + Src/cppunit/CompilerOutputter. + + src/cppunit/CompilerOutputter.cpp: + * src/cppunit/ProtectorChain.cpp: + * src/cppunit/StringTools.cpp: + * src/cppunit/TestPath.cpp: + * src/cppunit/TypeInfoHelper.cpp: + * src/cppunit/XmlElement.cpp: + * src/cppunit/XmlOutputter.cpp: switched to using unsigned index in loop to + avoid signed/unsigned warning in vc7. + + * include/cppunit/extension/ExceptionTestCaseDecorator.h: removed dll export + on template (caused link error on vc7). + +2003-03-12 Baptiste Lepilleur <gaiacrtn@free.fr> [97bf50c5b400b6304511286580c8ee160629a8a5] + + fixed typos + + +2003-03-11 Baptiste Lepilleur <gaiacrtn@free.fr> [0381b7ac442395543a8412c497b693741d572f28] + + Src/examples/cppunittest/TrackedTestCase. + + src/examples/cppunittest/TrackedTestCase.cpp: + * src/examples/cppunittest/CppUnitTestMain.cpp: + * src/examples/money/Money.h: partially applied patch #699794. Fixed + compilation issues with Borland C++ 6. + +2003-03-11 Baptiste Lepilleur <gaiacrtn@free.fr> [ec3067809b09107fac6e4e53d94adbe3e9f3de9b] + + Src/cppunit/XmlElement. + + src/cppunit/XmlElement.cpp: + * src/examples/CppUnitTest/XmlUniformser.cpp: fixed bug #676505 (no space + between attributes of XmlElement). + +2003-03-11 Baptiste Lepilleur <gaiacrtn@free.fr> [6e886d2f1ec0a52a32858e7aa374f031506573d7] + + switched to an implementation using index instead of iterator to avoid usage of typename + + +2003-03-11 Baptiste Lepilleur <gaiacrtn@free.fr> [db20dd756fef994fca6dd4785f1ac86e76f3f68e] + + Config/bb_enable_doxygen. + + config/bb_enable_doxygen.m4: + * doc/Makefile.am: applied Luke Dunstan's fix for bug #700730 (spaces not + allowed in doxygen path) + +2003-03-11 Baptiste Lepilleur <gaiacrtn@free.fr> [0488bd44fb51fcc4a37764c20556fab68b429d2f] + + fixed typos + + +2003-03-11 Baptiste Lepilleur <gaiacrtn@free.fr> [cae3d20badb7edef6de1cda979c719bd0d65b655] + + Include/cppunit/tools/Algorithm. + + include/cppunit/tools/Algorithm.h: + * src/cppunit/TestResult.cpp: + * src/msvc6/testrunner/TestRunnerModel.cpp: added removeFromSequence + algorithm in Algorithm.h to fix STLPort compatibility issue + (std::remove use the one of cstdio instead of algorithm). Bug #694971. + + * include/cppunit/extensions/TestNamer.h: fixed bug #662666 (missing include + for typeinfo). + + * src/cppunit/TestResult.cpp: TestFailure are no longer passed as temporary, + but explicitely instantiated on the stack. Work around AIX compiler bug. + +2003-03-11 Baptiste Lepilleur <gaiacrtn@free.fr> [4ca86cd4fd9b7a8c2dd60c1b62724b18b7bd5ec7] + + Include/cppunit/tools/Algorithm. + + include/cppunit/tools/Algorithm.h: + * src/cppunit/TestResult.cpp: + * src/msvc6/testrunner/TestRunnerModel.cpp: added removeFromSequence + algorithm in Algorithm.h to fix STLPort compatibility issue + (std::remove use the one of cstdio instead of algorithm). Bug #694971. + + * include/cppunit/extensions/TestNamer.h: fixed bug #662666 (missing include + for typeinfo). + + * src/cppunit/TestResult.cpp: TestFailure are no longer passed as temporary, + but explicitely instantiated on the stack. Work around AIX compiler bug. + +2002-12-03 Baptiste Lepilleur <gaiacrtn@free.fr> [c349ff0461024ca2cbc1e9844abfdb5996338f04] + + fixed include path + + +2002-12-03 Baptiste Lepilleur <gaiacrtn@free.fr> [5f4e8a237df7cbcb014fa632119fda3b8d32e64a] + + include/cppunit/TextTestResult.h: added missing dll export for operator << (bug #610119). + + +2002-12-02 Baptiste Lepilleur <gaiacrtn@free.fr> [7b97d82c4e077d37db5471d38c3e83b05943e240] + + src/src/msvc6/testrunner/DynamicWindow/cdxCDynamicWnd.cpp: added call to IsUp() in cdxCDynamicWnd::DoOnGetMinMaxInfo() before calling GetBorderSize() which caused an assertion. Bug #643612. + + +2002-12-02 Baptiste Lepilleur <gaiacrtn@free.fr> [edee1aa3443db8be68e48f15348395f4fc6c8cd1] + + src/cppunit/XmlOuputter.cpp: use iterator instead of const_iterator. + + +2002-12-02 Baptiste Lepilleur <gaiacrtn@free.fr> [e2b784709cde0cd7040b4bfb3401869c6306bcc0] + + Include/cppunit/plugin/DynamicLibraryManagerException. + + include/cppunit/plugin/DynamicLibraryManagerException.h: added constructor + to fix compilation issues on recents version of gcc and sun CC (bug #619059) + + * include/cppunit/input/XmlInputHelper.h: added. + + * include/cppunit/extensions/TestSuiteBuilderContext.h: + * src/cppunit/TestSuiteBuilderContext.cpp: added addProperty() and + getStringProperty(). Added macros CPPUNIT_TEST_SUITE_PROPERTY. + + * src/msvc6/testrunner/TestRunnerDlg.cpp: integrated Tim Threlkeld's + bug fix #610162: browse button was disabled if history was empty. + + * src/msvc6/testrunner/DynamicWindow/cdxCSizeIconCtrl.cpp: integrated + Tim Threlkeld's bug fix #610191: common control were not initialized. + + * include/cppunit/extensions/ExceptionTestCaseDecorator.h: bug #603172, + missing Message construction. + + * src/cppunit/DefaultProtector.cpp: bug #603172. Fixed missing ';'. + + * src/cppunit/TestCase.cpp: bug #603671. Removed unguarded typeinfo + include. + + * examples/cppunittests/*Suite.h: bug #603666. Added missing Portability.h + include. + +2002-09-23 Jan Eric Kyprianidis <jeh@sourceforge.net> [faa78dac0e46eef7b529b7be7262f4610f04d432] + + Removed myself <J.E. Hoffmann> from all copyrights and AUTHOR files. + + +2002-09-16 Eric Schendel <esche@sourceforge.net> [42311eeffecb2f2cb766e3164c1e0740d257d65b] + + Small changes to get simple to work + + +2002-09-16 Eric Schendel <esche@sourceforge.net> [a0f34db747dcca29230c61827b97f1c45749850c] + + Moved header to top + + +2002-09-16 Eric Schendel <esche@sourceforge.net> [af1070ecd04e521a6b5510716c00509980cde26c] + + Added newline at end of file (needed for some compilers to work) + + +2002-09-16 Eric Schendel <esche@sourceforge.net> [88d9a32ab5091a940360f1338a641f4f09e453f9] + + Updated coding style to support SUN 4.x compiler + + +2002-09-16 Eric Schendel <esche@sourceforge.net> [90a08ec35df981da24c5c577a00665f07f2f49c1] + + Added comparator to set + + +2002-09-16 Eric Schendel <esche@sourceforge.net> [4d1b49e5049f64b8e1df2eb705c241a9db921a2a] + + Comparator added to map + + +2002-09-16 Eric Schendel <esche@sourceforge.net> [e4dc29229ae6e20b226aec9b99b97611841e2ab0] + + Dereferencing fix for SUN4 + + +2002-09-16 Eric Schendel <esche@sourceforge.net> [86431c59f62dc16cb8ed85fb8a927e63c5449ba0] + + <typeinfo> not available if CPPUNIT_USE_TYPEINFO_NAME not defined + + +2002-09-16 Eric Schendel <esche@sourceforge.net> [c826393470c6012e58cac9731d6a2cf96e2ff2b8] + + Map needs comparator, make_pair to pair, and map dereference fix (SUN4) + + +2002-09-16 Eric Schendel <esche@sourceforge.net> [bc0b1c3f1abf0cc570216bed96d7cc84cdb08052] + + Const_iterator to iterator and make_pair to pair for sun4 portability + + +2002-09-16 Eric Schendel <esche@sourceforge.net> [e210106003b1e214b12341e4955b7119b0d49f09] + + Missing semicolon when CPPUNIT_USE_TYPEINFO_NAME not used + + +2002-09-05 Baptiste Lepilleur <gaiacrtn@free.fr> [4cc417314b4ebd1821022b01b4fcd97b01b91679] + + bumped version to 1.9.11 + + +2002-09-02 Baptiste Lepilleur <gaiacrtn@free.fr> [c19824b3f6ecb7c0b2ac784c93d13d1308ad2d81] + + include/cppunit/ui/text/TextTestRunner.h: fixed header guards. + + +2002-08-30 Baptiste Lepilleur <gaiacrtn@free.fr> [117c49aaa7670fb610e6d3c2b86f10015a0264a8] + + Attempt to fix the makig of lib directory in tar ball + + +2002-08-30 Baptiste Lepilleur <gaiacrtn@free.fr> [2ed8d36a0b7d4e22dabd7c09a52e068cbb8b490e] + + added automatic creation of lib directory for tar ball + + +2002-08-30 Baptiste Lepilleur <gaiacrtn@free.fr> [bc00993d3ef4f4bbe7e684082d5fda3b6b147845] + + added automatic creation of lib directory for tar ball + + +2002-08-30 Baptiste Lepilleur <gaiacrtn@free.fr> [ff8ca0aec3f2528f6b01bd71627c0e743b54eecd] + + added automatic creation of lib directory for tar ball + + +2002-08-29 Baptiste Lepilleur <gaiacrtn@free.fr> [938c5ebcaed57a6652ae3f189bac55a1489ac478] + + Include/cppunit/TestResult. + + include/cppunit/TestResult.h: + * src/cppunit/TestResult.cpp: fixed shouldStop() bug. + +2002-08-29 Baptiste Lepilleur <gaiacrtn@free.fr> [93d20fcb3bfbfa1d20e435218b60e6ed768f57b7] + + preparing for 1.9.10 release + + +2002-08-29 Baptiste Lepilleur <gaiacrtn@free.fr> [40669673029364275f58207549f91b8390215ec7] + + Include/cppunit/CompilerOutputter. + + include/cppunit/CompilerOutputter.h: + * include/cppunit/Exception.h: + * include/cppunit/Protector.h: + * include/cppunit/TestListener.h: + * include/cppunit/TestPath.h: + * include/cppunit/TestResult.h: + * include/cppunit/TestRunner.h: + * include/cppunit/XmlOutputter.h: + * include/cppunit/plugin/DynamicLibraryManager.h: + * include/cppunit/plugin/PlugInManager.h: + * include/cppunit/plugin/PlugInParameters.h: + * include/cppunit/TestPlugIn.h: + * src/cppunit/DefaultProtector.h: + * src/cppunit/ProtectorChain.h: + * src/cppunit/ProtectorContext.h: + * src/cppunit/TestCase.cpp: + * src/cppunit/TestResult.cpp: fixed a dew documentation bugs. + + * include/cppunit/TestResult.h: + * src/cppunit/TestResult.cpp: moved documentation to header. + +2002-08-29 Baptiste Lepilleur <gaiacrtn@free.fr> [eb3575761c12af9822403fcf25b6930150fb6890] + + Include/cppunit/Asserter. + + include/cppunit/Asserter.h: + * include/cppunit/Message.h: + * include/cppunit/extensions/TestNamer.h: + * include/cppunit/extensions/TestSuiteBuilder.h: + * include/cppunit/tools/XmlDocument.h: + * include/cppunit/tools/XmlElement.h: Fixed a few documentation bug. + +2002-08-28 Baptiste Lepilleur <gaiacrtn@free.fr> [edf9c347bd42b7940d39dd70049fb9895d3a3c5a] + + Include/cppunit/Portability. + + include/cppunit/Portability.h: added CPPUNIT_STATIC_CAST. + + * include/cppunit/extensions/TestFixtureFactory.h: extracted from + HelperMacros.h. Added template class ConcretTestFixtureFactory. + + * include/cppunit/extensions/TestSuiteBuilderContext.h: + * src/cppunit/TestSuiteBuilderContext.cpp: added. Context used + to add test case to the fixture suite. Prevent future + compatibility break for custom test API. + + * include/cppunit/extensions/HelperMacros.h: mostly rewritten. No + longer use TestSuiteBuilder. Added support for abstract test fixture + through macro CPPUNIT_TEST_SUITE_END_ABSTRACT. Made custom test API + easier to use. + + * examples/cppunittest/HelperMacrosTest.h: + * examples/cppunittest/HelperMacrosTest.cpp: updated against + HelperMacros.h changes. + +2002-08-27 Baptiste Lepilleur <gaiacrtn@free.fr> [878a1e56ef0858e44310e48fa21781c13a2c0b53] + + fixed Makefile + + +2002-08-27 Baptiste Lepilleur <gaiacrtn@free.fr> [c86c65b7d821fe4bb046c489528108843513e63d] + + CodingGuideLines. + + CodingGuideLines.txt: updated for OS/390 C++ limitation. + + * examples/cppunittests/MockFunctor.h: added. Mock Functor to help + testing. + + * examples/cppunittests/MockProtector.h: qdded. Mock Protector to help + testing. + + * examples/cppunittests/TestResultTest.h + * examples/cppunittests/TestResultTest.cpp: added tests for + pushProtector(), popProtector() and protect(). + + * include/cppunit/TestAssert.h: removed default message value from + assertEquals(). Caused compilation error on OS/390. + + * include/cppunit/plugin/PlugInParameters.h: + * src/cppunit/PlugInParameters.cpp: renamed commandLine() to + getCommandLine(). + + * src/msvc6/testrunner/TestRunnerDlg.h: + * src/msvc6/testrunner/TestRunnerDlg.cpp: bug fix, disabled Browse + button while running tests. + +2002-08-22 Steve M. Robbins <smr@sumost.ca> [69a36d9356412dddb51d8f31fbbac45ac52f7f30] + + Fixed doc bug; note: changelog lines must start with a TAB character + + +2002-08-04 Baptiste Lepilleur <gaiacrtn@free.fr> [a07263d25e98ee65943e1e1dc67c8c9a4e7d7f6d] + + added missing TestDecorator.cpp to makefile.am + + +2002-08-03 Baptiste Lepilleur <gaiacrtn@free.fr> [681d5fdb4c6c3cc26994de055bb8c52d5452bc2d] + + include/cppunit/XmlOutputterHook.h: integrated Stephan Stapel documentation update. + + +2002-08-03 Baptiste Lepilleur <gaiacrtn@free.fr> [e82ccd481800f8f0d36af5310c535b83a6cec788] + + Include/cppunit/Exception. + + include/cppunit/Exception.h: + * src/cppunit/Exception.h: added setMessage(). + + * include/cppunit/Protector.h: + * src/cppunit/Protector.cpp: added class ProtectorGuard. Change the + reportXXX() method to support Exception passing and SourceLine. + + * include/cppunit/TestCaller.h: removed 'expect exception' features. + It is now handled by ExceptionTestCaseDecorator and TestCaller no + longer need default template argument support. + + * include/cppunit/TestCase.h: + * include/cppunit/extensions/TestCaller.h: runTest() is now public + instead of protected, so that it can be decorated. + + * include/cppunit/TestResult.h: + * src/cppunit/TestResult.h: added pushProtector() and popProtector() + methods. This allow user to specify their own exception trap when + running test case. + + * include/cppunit/extensions/TestDecorator.h: + * src/cppunit/TestDecorator.cpp: added. Extracted from TestDecorator.h. + The test passed to the constructor is now owned by the decorator. + + * include/cppunit/extensions/TestCaseDecorator.h: + * src/cppunit/TestCaseDecorator.cpp: added. Decorator for TestCase + setUp(), tearDown() and runTest(). + + * include/cppunit/extensions/ExceptionTestCaseDecorator.h: added. + TestCaseDecorator to expect that a specific exception is thrown. + + * include/cppunit/extensions/HelperMacros.h: updated against TestCaller + change. + + * src/cppunit/DefaultFunctor.h: fixed bug (did not return underlying + test return code). + + * src/cppunit/ProtectorChain.cpp: fixed bug in chaing return code. + + * src/cppunit/DefaultFunctor.h: fixed bug. + + * src/msvc6/testrunner/ActiveTest.h: + * src/msvc6/testrunner/ActiveTest.cpp: updated against + TestCaseDecorator ownership policy change. Moved inline functions + to .cpp. + + * examples/cppunittest/TestSetUpTest.cpp: updated to use MockTestCase + and against the new ownership policy. + + * examples/cppunittest/TestDecoratorTest.cpp: + * examples/cppunittest/RepeatedTestTest.cpp: updated against + TestDecorator ownership policy change. + + * examples/cppunittest/ExceptionTestCaseDecoratorTest.h: + * examples/cppunittest/ExceptionTestCaseDecoratorTest.cpp: added. Unit + tests for ExceptionTestCaseDecoratorTest. + +2002-07-16 Baptiste Lepilleur <gaiacrtn@free.fr> [2a31073734be6e44e477079699578820282b7345] + + Include/cppunit/Protector. + + include/cppunit/Protector.h: + * src/cppunit/Protector.cpp: added. Base class for protectors. + + * src/cppunit/DefaultProtector.h: + * src/cppunit/DefaultProtector.cpp: added. Implementation of the default + protector used to catch std::exception and any other exception. + + * src/cppunit/ProtectorChain.h: + * src/cppunit/ProtectorChain.cpp: added. Implementation of a chain of + protector, allowing catching custom exception and implementation of + expected exception. + + * src/cppunit/TestCase.cpp: + * src/cppunit/TestResult.cpp: updated to use protector. + +2002-07-14 Baptiste Lepilleur <gaiacrtn@free.fr> [251c1ff8aecaa608ef9e6041c2691d369430bf7b] + + CodingGuideLines. + + CodingGuideLines.txt: added. CppUnit's coding guidelines for portability. + + * include/cppunit/portability/CppUnitStack.h: added. wrapper for std::stack. + + * include/cppunit/portability/CppUnitSet.h: added. wrapper for std::set. + + * include/cppunit/ui/text/TestRunner.h: fixed namespace definition for + deprecated TestRunner. + + * include/cppunit/TestAssert.h: + * src/cppunit/TestAssert.cpp: removed old deprecated functions that did + not use SourceLine. Moved assertEquals() and assertDoubleEquals() into + CppUnit namespace. + + * src/cppunit/TestFactoryRegistry.cpp: use CppUnitMap instead of std::map. + + * src/DllPlugInTester/CommandLineParser.h: use CppUnitDeque instead + std::deque. + + * examples/cppunittest/*.h: + * examples/cppunittest/*.cpp: removed all usage of CppUnitTest namespace. + Everything is now in global space. + + * examples/*/*.h: + * examples/*/*.cpp: replaced usage of CppUnit:: with CPPUNIT_NS::. + + * examples/ClockerPlugIn/ClockerModel.h: use CppUnit STL wrapper instead + of STL container. + +2002-07-13 Baptiste Lepilleur <gaiacrtn@free.fr> [0807889cb53679c5a9e741e8dedc3668ef59729b] + + Include/cppunit/ui/text/TestRunner. + + include/cppunit/ui/text/TestRunner.h: + * src/cppunit/TextTestRunner.cpp: Renamed TextUi::TestRunner + TextTestRunner and moved it to the CppUnit namespace. Added + a deprecated typedef for compatibility with previous version. + + * include/cppunit/ui/text/TextTestRunner.h: added. + + * include/cppunit/ui/mfc/TestRunner.h: + * src/cppunit/msvc6/testrunner/TestRunner.cpp: Renamed MfcUi::TestRunner + MfcTestRunner. Added deprecated typedef for compatibility. Renamed + TestRunner.cpp to MfcTestRunner.cpp. + + * include/cppunit/ui/mfc/MfcTestRunner.h: added. + + * include/cppunit/ui/qt/TestRunner.h: + * src/qttestrunner/TestRunner.cpp: renamed QtUi::TestRunner QtTestRunner + and moved it to CppUnit namespace. Added a deprecated typedef for + compatibility. Renamed TestRunner.cpp to QtTestRunner.cpp. + + * include/cppunit/ui/qt/TestRunner.h: + * src/qttestrunner/TestRunner.h: Moved TestRunner to CppUnit namespace + and renamed it QtTestRunner. Added deprecated typedef for compatibility. + + * include/cppunit/Asserter.h: + * src/cppunit/Asserter.cpp: changed namespace Asserter to a struct and + made all methods static. + + * include/cppunit/extensions/HelperMacros.h: + * include/cppunit/extensions/SourceLine.h: + * include/cppunit/extensions/TestAssert.h: + * include/cppunit/extensions/TestPlugIn.h: + * include/cppunit/Portability.h: changed CPPUNIT_NS(symbol) to a + symbol macro that expand either to CppUnit or nothing. The symbol is + no longer a parameter. + + * include/cppunit/portability/CppUnitVector.h: + * include/cppunit/portability/CppUnitDeque.h: + * include/cppunit/portability/CppUnitMap.h: added. STL Wrapper for + compilers that do not support template default argumenent and need + the allocator to be passed when instantiating STL container. + + * examples/cppunittest/*.h: + * examples/cppunittest/*.cpp: + * src/msvc6/testrunner/*.h: + * src/msvc6/testrunner/*.cpp: + * src/msvc6/testpluginrunner/*.h: + * src/msvc6/testpluginrunner/*.cpp: + * src/qttestrunner/*.h: + * src/qttestrunner/*.cpp: replaced occurence of CppUnit:: by CPPUNIT_NS. + + * src/cppunit/TestSuite.h: + replaced occurence of std::vector by CppUnitVector. + +2002-07-13 Baptiste Lepilleur <gaiacrtn@free.fr> [f1bf3276752a10a2cdf4e3cf3087399d199c4566] + + Include/cppunit/ui/text/TestRunner. + + include/cppunit/ui/text/TestRunner.h: + * src/cppunit/TextTestRunner.cpp: Renamed TextUi::TestRunner + TextTestRunner and moved it to the CppUnit namespace. Added + a deprecated typedef for compatibility with previous version. + + * include/cppunit/ui/text/TextTestRunner.h: added. + + * include/cppunit/ui/mfc/TestRunner.h: + * src/cppunit/msvc6/testrunner/TestRunner.cpp: Renamed MfcUi::TestRunner + MfcTestRunner. Added deprecated typedef for compatibility. Renamed + TestRunner.cpp to MfcTestRunner.cpp. + + * include/cppunit/ui/mfc/MfcTestRunner.h: added. + + * include/cppunit/ui/qt/TestRunner.h: + * src/qttestrunner/TestRunner.cpp: renamed QtUi::TestRunner QtTestRunner + and moved it to CppUnit namespace. Added a deprecated typedef for + compatibility. Renamed TestRunner.cpp to QtTestRunner.cpp. + + * include/cppunit/ui/qt/TestRunner.h: + * src/qttestrunner/TestRunner.h: Moved TestRunner to CppUnit namespace + and renamed it QtTestRunner. Added deprecated typedef for compatibility. + + * include/cppunit/Asserter.h: + * src/cppunit/Asserter.cpp: changed namespace Asserter to a struct and + made all methods static. + + * include/cppunit/extensions/HelperMacros.h: + * include/cppunit/extensions/SourceLine.h: + * include/cppunit/extensions/TestAssert.h: + * include/cppunit/extensions/TestPlugIn.h: + * include/cppunit/Portability.h: changed CPPUNIT_NS(symbol) to a + symbol macro that expand either to CppUnit or nothing. The symbol is + no longer a parameter. + + * include/cppunit/portability/CppUnitVector.h: + * include/cppunit/portability/CppUnitDeque.h: + * include/cppunit/portability/CppUnitMap.h: added. STL Wrapper for + compilers that do not support template default argumenent and need + the allocator to be passed when instantiating STL container. + + * examples/cppunittest/*.h: + * examples/cppunittest/*.cpp: + * src/msvc6/testrunner/*.h: + * src/msvc6/testrunner/*.cpp: + * src/msvc6/testpluginrunner/*.h: + * src/msvc6/testpluginrunner/*.cpp: + * src/qttestrunner/*.h: + * src/qttestrunner/*.cpp: replaced occurence of CppUnit:: by CPPUNIT_NS. + + * src/cppunit/TestSuite.h: + replaced occurence of std::vector by CppUnitVector. + +2002-07-12 Baptiste Lepilleur <gaiacrtn@free.fr> [570132ec2707c8bac6c27c758254f05e293fe613] + + added missing src/msvc6/testrunner/ResourceLoaders.h/.cpp. + + +2002-07-12 Baptiste Lepilleur <gaiacrtn@free.fr> [f7b3edec972200bde92ede325bf3a7309ca0a4a7] + + Doc/doxyfile. + + doc/doxyfile.in: + * doc/CppUnit-Win.dox: updated doxygen configuration files so that + CPPUNIT_NS_BEGIN and CPPUNIT_NS_END macros are expanded. This help + generates the documentation using the CppUnit namespace. + +2002-07-12 Baptiste Lepilleur <gaiacrtn@free.fr> [10c39014e897d43e118e2ddd4f2c90b7de7ec517] + + Include/cppunit/config/Portability. + + include/cppunit/config/Portability.h: If the compiler does not support + namespace (CPPUNIT_HAVE_NAMESPACES=0), define CPPUNIT_NO_STD_NAMESPACE + and CPPUNIT_NO_NAMESPACE. If CPPUNIT_NO_STD_NAMESPACE is defined, then + CppUnit assumes that STL are in the global namespace. If + CPPUNIT_NO_NAMESPACE is defined, then CppUnit classes are placed in the + global namespace instead of the CppUnit namespace. + + * include/cppunit/config/config-bcb5.h: + * include/cppunit/config/config-msvc6.h: added definition of macro + CPPUNIT_HAVE_NAMESPACES. + + * include/cppunit/tools/StringTools.h: use CPPUNIT_WRAP_COLUMN as default + parameter value for wrap(). + + * include/cppunit/*/*.h: + * src/cppunit/*.cpp: changed all CppUnit namespace declaration to use + macros CPPUNIT_NS_BEGIN and CPPUNIT_NS_END. Also, changed reference + to CppUnit namespace (essentially in macros) using CPPUNIT_NS macro. + +2002-07-11 Baptiste Lepilleur <gaiacrtn@free.fr> [6943d47a76445bbfebc99859ed38698760354642] + + added missing files + + +2002-07-10 Baptiste Lepilleur <gaiacrtn@free.fr> [85aa074c02154107459755b2a3ddbc0b5767558a] + + Include/cppunit/extensions/AutoRegisterSuite. + + include/cppunit/extensions/AutoRegisterSuite.h: + * include/cppunit/extensions/Orthodox.h: + * include/cppunit/extensions/TestSuiteBuilder.h: + * include/cppunit/extensions/TestSuiteFactory.h: + * include/cppunit/TestCaller.h: + * examples/hierarchy/BoardGameTest.h: + * examples/hierarchy/ChessTest.h: replaced usage of 'typename' in template + declaration with 'class'. + + * include/cppunit/ui/text/TestRunner.h: + * src/cppunit/TextTestRunner.cpp: updated to use the generic TestRunner. + Removed methods runTestByName() and runTest(). Inherits + CppUnit::TestRunner. + + * include/cppunit/extensions/TestSuiteBuilder.h: removed templatized method + addTestCallerForException(). It is no longer used since release 1.9.8. + + * examples/cppunittest/MockTestCase.h + * examples/cppunittest/MockTestCase.cpp: removed the usage of 'mutable' + keyword. + +2002-07-03 Baptiste Lepilleur <gaiacrtn@free.fr> [ad45759ab7a47c7a7932f7e6be66f3ea106b643b] + + Include/cppunit/XmlOutputter. + + include/cppunit/XmlOutputter.h: fixed XmlOutputter constructed default + value initializatino which caused compilation error with BC5. + + * src/cppunit/PlugInManager.cpp: added missing CPPUNIT_NO_TESTPLUGIN guard. + + * src/msvc6/testrunner/TestRunner.dsp: + * src/msvc6/testrunner/TestRunner.rc: + * src/msvc6/testrunner/TestRunnerDlg.cpp: + * src/msvc6/testrunner/TestRunnerDlg.h: + * src/msvc6/testrunner/TreeHierarchyDlg.cpp: + * src/msvc6/testrunner/TreeHierarchyDlg.h: + * src/msvc6/testpluginrunner/TestPlugInRunner.dsp: + * src/msvc6/testpluginrunner/TestPlugInRunner.rc: + * src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp: + * src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp: + * src/msvc6/testpluginrunner/TestPlugInRunnerDlg.h: applied Steven Mitter + patch to fix bug #530426 (conflict between TestRunner and host application + resources). Adapted patch to compile work with Unicode. + + * src/msvc6/testrunner/ResourceLoaders.h: + * src/msvc6/testrunner/ResourceLoaders.cpp: + * src/msvc6/testrunner/Change-Diary-ResourceBugFix.txt: added, from + Steven Mitter's patch. Simplified loadCString() to compile with Unicode. + + * src/cppunit/cppunit.dsp: + * src/cppunit/cppunit_dll.dsp: + * src/DllPlugInTester/DllPlugInTester.dsp: + * src/msvc6/testrunner/TestRunner.dsp: + * src/msvc6/testpluginrunner/TestPlugInRunner.dsp: all lib, dll and exe are + now created in the intermediate directory. A post-build rule is used to + copy them to the lib/ directory. + +2002-06-16 Baptiste Lepilleur <gaiacrtn@free.fr> [d8e61dcb0fd9046b44ca3e9e6868b5429eee8aa9] + + added missing files + + +2002-06-16 Baptiste Lepilleur <gaiacrtn@free.fr> [f3d181101f6f05668932b3fb1b0238d67435d67b] + + added missing files + + +2002-06-16 Baptiste Lepilleur <gaiacrtn@free.fr> [502027fc46a95707c9be143526a862bf1a654d89] + + examples/cppunittest/MessageTest.cpp: removed std::string() from assertion. Somehow gcc can't parse it. Added missing include <stdexcept>. + + +2002-06-16 Baptiste Lepilleur <gaiacrtn@free.fr> [5a0e3a8fbba6565fdca153f584560d104d07b384] + + Examples/cppunittest/MessageTest. + + examples/cppunittest/MessageTest.cpp: + * examples/cppunittest/XmlElement.cpp: added missing include <stdexcept>. + +2002-06-16 Baptiste Lepilleur <gaiacrtn@free.fr> [81f96d1b9e849fc77b6a8b66c6e7e8eb62fa6552] + + added ToolsSuite.h + + +2002-06-16 Baptiste Lepilleur <gaiacrtn@free.fr> [5e29d623a9e21dbc51aba45da655de373dbacd18] + + Src/cppunit/Message. + + src/cppunit/Message.cpp: + * src/cppunit/XmlElement.cpp: added missing include <stdexcept> + +2002-06-16 Baptiste Lepilleur <gaiacrtn@free.fr> [0a810d68d0550ba6f7f28f2e0dfcef691bdca7b4] + + Release 1. + + release 1.9.8 + + * include/cppunit/plugin/TestPlugIn.h: updated documentation. + + * include/cppunit/tools/XmlDocument.h: updated documentation. + + * include/cppunit/tools/StringTools.h: + * src/cppunit/StringTools.cpp: added split() and wrap() functions. + + * include/cppunit/CompilerOutputter.h: + * src/cppunit/CompilerOutputter.cpp: extracted wrap() and + splitMessageIntoLines() to StringTools. + + * include/cppunit/XmlOutputterHook.h: + * src/cppunit/XmlOutputterHook.cpp: removed rooNode parameter from + beginDocument() and endDocument(). It can be retreive from document. + Renamed 'node' occurences to 'element'. + + * include/cppunit/XmlOutputter.h: + * src/cppunit/XmlOutputter.cpp: updated against + XmlOutputterHook changes. Renamed 'node' occurences to 'element'. + + * examples/ClockerPlugIn/ClockerXmlHook.h: + * examples/ClockerPlugIn/ClockerXmlHook.cpp: updated against + XmlOutputterHook changes. + + * examples/cppunittest/XmlElementTest.h: + * examples/cppunittest/XmlElementTest.cpp: Renamed 'node' occurences + to 'element'. + + * examples/cppunittest/XmlOutputterTest.cpp: updated against + XmlOutputterHook changes. + + * examples/cppunittest/StringToolsTest.h: + * examples/cppunittest/StringToolsTest.cpp: added. Unit tests for + StringTools. Turn out that VC++ dismiss empty lines in tools output, + which is the reason why empty lines where not printed in + CompilerOutputter. + +2002-06-14 Baptiste Lepilleur <gaiacrtn@free.fr> [73a038f1eaa268cec330d971fb550befec6f7798] + + Include/cppunit/plugin/PlugInManager. + + include/cppunit/plugin/PlugInManager.h: + * src/cppunit/PlugInManager.cpp: added two methods to use the plug-in + interface for Xml Outputter hooks. + + * include/cppunit/plugin/TestPlugIn.h: added two methods to the plug-in + interface for Xml Outputter hooks. + + * include/cppunit/plugin/TestPlugInAdapter.h: + * src/cppunit/plugin/TestPlugInAdapter.cpp: renamed TestPlugInDefaultImpl. + Added empty implementation for Xml outputter hook methods. + + * include/cppunit/tools/StringTools.h: + * src/cppunit/tools/StringTools.cpp: added. Functions to manipulate string + (conversion, wrapping...) + + * include/cppunit/tools/XmlElement.h: + * src/cppunit/XmlElement.cpp: renamed addNode() to addElement(). Added + methods to walk and modify XmlElement (for hook). Added documentation. + Use StringTools. + + * include/cppunit/XmlOutputter.h: + * src/cppunit/XmlOutputter.cpp: added hook calls & management. + + * include/cppunit/XmlOutputterHook.h: + * src/cppunit/XmlOutputterHook.cpp: added. Hook to customize XML output. + + * src/DllPlugInTester/DllPlugInTester.cpp: call plug-in XmlOutputterHook + when writing XML output. Modified so that memory is freed before + unloading the test plug-in (caused crash when freeing the XmlDocument). + + * examples/ReadMe.txt: + * examples/ClockerPlugIn/ReadMe.txt: added details about the plug-in + (usage, xml content...) + + * examples/ClockerPlugIn/ClockerModel.h: + * examples/ClockerPlugIn/ClockerModel.cpp: extracted from ClockerListener. + Represents the test hierarchy and tracked time for each test. + + * examples/ClockerPlugIn/ClockerListener.h: + * examples/ClockerPlugIn/ClockerListener.cpp: extracted test hierarchy + tracking to ClockerModel. Replaced the 'flat' view option with a 'text' + option to print the timed test tree to stdout. + + * examples/ClockerPlugIn/ClockerPlugIn.cpp: updated to hook the XML + output and use the new classes. + + * examples/ClockerPlugIn/ClockerXmlHook.h: + * examples/ClockerPlugIn/ClockerXmlHook.cpp: added. XmlOutputterHook to + includes the timed test hierarchy and test timing in the XML output. + + * examples/cppunittest/XmlElementTest.h: + * examples/cppunittest/XmlElementTest.cpp: added new test cases. + + * examples/cppunittest/XmlOutputterTest.h: + * examples/cppunittest/XmlOutputterTest.cpp: added tests for + XmlOutputterHook. + +2002-06-14 Baptiste Lepilleur <gaiacrtn@free.fr> [f39e160fba25476de7d41e2f19d756db7ee76dc7] + + Src/cppunit/TypeInfoHelper. + + src/cppunit/TypeInfoHelper.cpp: added work around for bug #565481. + gcc 3.0 RTTI name() returns the type prefixed with a number (the + length of the type). The work around strip the number. + + * src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp: registry key is now + set. Allow to save settings. + + * src/msvc6/testpluginrunner/TestPlugInRunnerDlg.h: + * src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp: added layout + initialization for resizing. + + * src/msvc6/testpluginrunner/TestPlugRunner.rc: + * src/msvc6/testpluginrunner/TestPlugInRunner.dsp: added TestRunner + project files. Somehow I can't get cdxCDynamicDialog to compile + as a MFC extension. Included all sources files and resources + as a very dirt work around. + + * src/msvc6/testrunner/TestRunnerDlg.h: + * src/msvc6/testrunner/TestRunnerDlg.cpp: + * src/msvc6/testrunner/TestRunnerModel.h: those classes are no longer + exported in the MFC extension. See TestPlugInRunner issue with + cdxCDynamicDialog. + + * include/cppunit/Message.h: + * include/cppunit/TestPath.h: + * include/cppunit/TestResult.h: + * include/cppunit/TestResultCollector.h: + * include/cppunit/TestSuite.h: + * include/cppunit/TestFactoryRegistry.h: + * include/cppunit/XmlElement.h: + * include/cppunit/TypeInfoHelper.h: commented out STL template export + in DLL. This caused conflicts when instantiting the same template in + a user project. + +2002-06-13 Baptiste Lepilleur <gaiacrtn@free.fr> [6b57ee7236610cc5ac9e388bb73be1854429a27b] + + Src/cppunit/CompilerOutputter. + + src/cppunit/CompilerOutputter.cpp: fixed bug #549762 (line wrap). + + * src/msvc6/testrunner/DynamicWindow/*: added. Dynamic Window library + from Hans Bühler (hans.buehler@topmail.de) to resize window. + + * src/msvc6/testrunner/TestRunnerModel.h: + * src/msvc6/testrunner/TestRunnerModel.cpp: removed dialog bounds from + settings. Added public registry keys for cppunit, main dialog, and + browse dialog. + + * src/msvc6/testrunner/TreeHierarchyDlg.h: + * src/msvc6/testrunner/TreeHierarchyDlg.cpp: dialog is now resizable. + Window placement is stored and restored. + + * src/msvc6/testrunner/TestRunnerDlg.h: + * src/msvc6/testrunner/TestRunnerDlg.cpp: replaced dialog resizing code + by usage of Hans Bühler's Dynamic Window library. Dialog placement + is stored/restored by that library. ProgressBar is now a child window. + Added edit field to see the details of the failure. List on show + the short description of the failure. + + * src/msvc6/testrunner/ProgressBar.h: + * src/msvc6/testrunner/ProgressBar.cpp: is now a CWnd. + + * src/msvc6/testrunner/TestRunner.rc: named all static fill ID for resizing. + Added an invisble static field for progress bar placement. + +2002-06-13 Baptiste Lepilleur <gaiacrtn@free.fr> [7f0766499db248afe9985a5700c22f9a8ce7ce6c] + + Include/cppunit/NotEqualException. + + include/cppunit/NotEqualException.h: + * src/cppunit/NotEqualException.cpp: removed. + + * include/cppunit/Exception.h: + * src/cppunit/Exception.cpp: removed 'type' related stuffs. + + * include/cppunit/TextTestResult.h: + * src/cppunit/TextTestResult.cpp: delegate printing to TextOutputter. + + * examples/simple/ExampleTestCase.h: + * examples/simple/ExampleTestCase.cpp: reindented. + + * src/qttestrunner/build: + * src/qttestrunner/qttestrunner.pro: + * src/qttestrunner/TestBrowserDlgImpl.h: + * src/qttestrunner/TestRunnerModel.h: applied Thomas Neidhart's patch, + 'Some minor fixes to compile QTTestrunner under Linux.'. + +2002-06-13 Baptiste Lepilleur <gaiacrtn@free.fr> [abd178318ae3cdb6cc0a700e77414a33ef9297ca] + + Include/cppunit/Asserter. + + include/cppunit/Asserter.h: + * src/cppunit/Asserter.cpp: added functions that take a Message as a + parameter. Existing function have a short description indicating + an assertion failure. + + * include/cppunit/CompilerOuputter.h: + * src/cppunit/CompilerOuputter.cpp: removed printNotEqualMessage() and + printDefaultMessage(). Updated to use Message. + + * include/cppunit/Message.h: + * src/cppunit/Message.cpp: added. Represents a message associated to an + Exception. + + * include/cppunit/Exception.h: + * src/cppunit/Exception.cpp: the message associated to the exception is now + stored as a Message instead of a string. + + * include/cppunit/NotEqualException.cpp: constructs a Message instead of a + string. + + * include/cppunit/TestAssert.h: + * src/cppunit/TestAssert.cpp: updated to use Asserter functions that + take a message when pertinent (CPPUNIT_FAIL...). + + * include/cppunit/TestCaller.h: + * src/cppunit/TestCaller.cpp: exception not caught failure has a better + short description. + + * src/cppunit/TestCase.cpp: better short description when setUp() or + tearDown() fail. + + * src/msvc6/testrunner/TestRunnerDlg.cpp: replace '\n' in failure message + with space. + + * examples/cppunittest/ExceptionTest.cpp: + * examples/cppunittest/NotEqualExceptionTest.cpp: + * examples/cppunittest/TestCallerTest.cpp: + * examples/cppunittest/TestFailureTest.cpp: + * examples/cppunittest/TestResultCollectorTest.h: + * examples/cppunittest/TestResultCollectorTest.cpp: + * examples/cppunittest/TestResultTest.cpp: + * examples/cppunittest/XmlOutputterTest.h: + * examples/cppunittest/XmlOutputterTest.cpp: updated to use Exception/Message. + + * examples/cppunittest/MessageTest.h: + * examples/cppunittest/MessageTest.cpp: added. Unit test for Message. + +2002-06-12 Baptiste Lepilleur <gaiacrtn@free.fr> [3702f4f7603f1e49b4d6747c49e795bad712eab7] + + Install-unix: added some hints extracted from bug #544684 on how to compile for Solaris/Forte C++ compiler. + + install-unix: added some hints extracted from bug #544684 on how to compile + for Solaris/Forte C++ compiler. + + * TODO: cleaned-up and added new things. + + * include/cppunit/extensions/HelperMacros.h: CPPUNIT_TEST_SUITE now declares + a class named ThisTestFixtureFactory which is a wrapper for the fixture + factory. This removes the need to cast the fixture to the correct type when + using the factory. Updated other macros implementation to use this new + factory. Modified CPPUNIT_TEST_CUSTOM(S) macros to use this new factory + class. Added macro CPPUNIT_TEST_ADD to help create new macros like + CPPUNIT_TEST_xxx. + + * examples/cppunittest/HelperMacrosTest.h: + * examples/cppunittest/HelperMacrosTest.cpp: added unit tests for + CPPUNIT_TEST_CUSTOM, CPPUNIT_TEST_CUSTOMS and CPPUNIT_TEST_ADD. + +2002-06-01 Baptiste Lepilleur <gaiacrtn@free.fr> [1fe54971424f393a2bb2566bc14af5e899e98ebb] + + Doc/cookbook. + + doc/cookbook.dox: fixed bug. + + * install-unix: added compilation instruction for Solaris/Sun 6.0 + +2002-05-25 Baptiste Lepilleur <gaiacrtn@free.fr> [b87cde884d03091d81e4d3fa2199155e152dda80] + + Include/cppunit/extensions/TestSuiteBuilder. + + include/cppunit/extensions/TestSuiteBuilder.h: updated to use TestNamer. Removed + template method addTestCallerForException() which should solve the compilation + issue with Sun 5.0/6.0 compiler. + + * include/cppunit/extensions/HelperMacros.h: updated against TestSuiteBuilder + change. Added CPPUNIT_TEST_CUSTOM and CPPUNIT_TEST_CUSTOMS to add custom + tests to the fixture suite. + + * include/cppunit/extensions/TestNamer.h: + * src/cppunit/TestNamer.cpp: added, TestNamer to name test case and fixture. + +2002-05-23 Baptiste Lepilleur <gaiacrtn@free.fr> [5ad4640702a80078748b38ebaeda37e69dce1189] + + Include/cppunit/XmlOutputter. + + include/cppunit/XmlOutputter.h: + * src/cppunit/XmlOutputter.cpp: extracted class XmlOutputter::Node to + XmlElement. Extracted xml 'prolog' generation to XmlDocument. + + * include/cppunit/tools/XmlElement.h: + * src/cppunit/tools/XmlElement.cpp: added, extracted from XmlOutputter::Node. + + * include/cppunit/tools/XmlDocument.h: + * src/cppunit/tools/XmlDocument.cpp: added, extracted from XmlOutputter. Handle + XML document prolog (encoding & style-sheet) and manage the root element. + + * src/DllPlugInTester/DllPlugInTester.cpp: bug fix, flag --xsl was ignored. + + * examples/cppunittest/XmlOutputterTest.h: + * examples/cppunittest/XmlOutputterTest.cpp: updated for XmlOuputter changes. + extracted tests for XmlOutputter::Node to XmlElementTest + + * examples/cppunittest/XmlElementTest.h: + * examples/cppunittest/XmlElementTest.cpp: added, tests extracted from + XmlOutputterTest. + +2002-05-22 Baptiste Lepilleur <gaiacrtn@free.fr> [7edd0684368ed3c43fe2707d1d34d6b7590d9fd6] + + Src/msvc6/testrunner/MsDevCallerListCtrl. + + src/msvc6/testrunner/MsDevCallerListCtrl.h: + * src/msvc6/testrunner/MsDevCallerListCtrl.cpp: + * src/msvc6/testrunner/Resource.h: + * src/msvc6/testrunner/TestRunner.rc: + * src/msvc6/testrunner/TestRunnerDlg.cpp: + * src/msvc6/testrunner/TestRunnerModel.h: + * src/msvc6/testpluginrunner/TestPlugInRunner.rc: + * src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp: + * src/msvc6/testpluginrunner/TestPlugInRunnerDlg.h: + * src/msvc6/testpluginrunner/TestPlugInRunnerModel.cpp: integrated patch from + Marco Welti (Welti@GretagMacbeth.ch) with a few clean up. + Display the name of the test being run during above the progress bar. Allow the + VC++ add-ins to works with TestPlugInRunner (COM init). DLL name can be specified + on the command line after flag '-testsuite'. Display wait cursor, clear and reload + history when reloading DLL. + + * THANKS: added Marco Welti to the list. + +2002-05-18 Steve M. Robbins <smr@sumost.ca> [a882d92fce563e1d0612f16cfa48956fe904d92b] + + *** empty log message *** + + +2002-05-07 Baptiste Lepilleur <gaiacrtn@free.fr> [60979bfc4903e27e0d90b60db0a2d95bfabb7aea] + + Src/DllPlugInTester/CommandLineParser. + + src/DllPlugInTester/CommandLineParser.cpp: fixed compilation issue. + + * src/msvc6/TestRunner/ActiveTest.h: + * src/msvc6/TestRunner/ActiveTest.cpp: reindented. bugfix: thread handle + resource leak (bug #553424). + +2002-05-07 Baptiste Lepilleur <gaiacrtn@free.fr> [2159f78d59e9cedede0ef5b51d4f37dd1b3489b9] + + Src/DllPlugInTester/CommandLineParser. + + src/DllPlugInTester/CommandLineParser.cpp: fixed compilation issue. + + * src/msvc6/TestRunner/ActiveTest.h: + * src/msvc6/TestRunner/ActiveTest.cpp: reindented. bugfix: thread handle + resource leak (bug #553424). + +2002-04-25 Baptiste Lepilleur <gaiacrtn@free.fr> [8167f9cbc23ba04493a4356e597e46424f1756b1] + + Src/cppunit/XmlOutputter. + + src/cppunit/XmlOutputter.cpp: bugfix, use ISO-8859-1 encoding if an + empty string is given. + + * src/DllPlugInTester/CommandLineParser.h: + * src/DllPlugInTester/CommandLineParser.cpp: + * src/DllPlugInTester/DllPlugInTester.cpp: added option -w to wait for + the user to press a key before exiting (Philippe Lavoie patch, + with change). + +2002-04-23 Baptiste Lepilleur <gaiacrtn@free.fr> [f32756d95c8c4711032c2da415779f5e589017ec] + + Bumped version to 1. + + bumped version to 1.9.7 + + * comitted stuffs I forgot to in 1.9.6. + +2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr> [82438cf5d90805bc845d703bba5a785bd04ad9c4] + + * bumped version to 1.9.7 + + * comitted stuffs I forgot to in 1.9.6. + +2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr> [f174b32b6ef313c2db3a0959d8e0b6999c73504f] + + fixed + + +2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr> [3f136c0fc41dedf45eddcb6c775022594f0213c0] + + fixed uppercase problem + + +2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr> [5b8e2772369bc18f019dcf5f83ad64682e3b9783] + + fixed double definition of LDFLAGS + + +2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr> [534701d71c6469b6aa7ab058a0588a42b608f6a9] + + fixed directory money + + +2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr> [760c2b74740203dfef1f776703f28b39d1988f64] + + Contrib/bc5/bcc-makefile. + + contrib/bc5/bcc-makefile.zip: updated, generic makefile for + Borland 5.5, contributed by project cuppa. + + * examples/cppunittest/*Suite.h: integrated Jeffrey Morgan's patch, + to remove warning with gcc. + +2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr> [dc8b1409bebf9a50c5199d613d5f742f7a11fec8] + + Examples/Money/ + + examples/Money/*: added. New 'hello world' example. + + * doc/Money.dox: added. Article that go along with the Money example. + +2002-04-21 Baptiste Lepilleur <gaiacrtn@free.fr> [ca5f94534beb3fb395a397a2fe991f4c64fb2f84] + + Src/DllPlugInTester/makefile. + + src/DllPlugInTester/makefile.am: removed ld.so from LDADD flags. + + * src/DllPlugInTester/CommandLineParser.h: + * src/DllPlugInTester/CommandLineParser.cpp: rewrote, fixed problem + with double quotes in command line... + + * src/DllPlugInTester/CommandLineParserTest.h: + * src/DllPlugInTester/CommandLineParserTest.cpp: + * src/DllPlugInTester/DllPlugInTesterTest.cpp: added, unit tests for + CommandLineParser. + + * src/msvc6/TestPlugIn/*: removed. + +2002-04-20 Baptiste Lepilleur <gaiacrtn@free.fr> [aa3e46e802dc5139e3e2c32e6a00526697e8a0aa] + + fixed makefile + + +2002-04-20 Baptiste Lepilleur <gaiacrtn@free.fr> [4f00591f699c93cb0a5a444343ff18adf1c6547c] + + Fixed makefile + + +2002-04-20 Baptiste Lepilleur <gaiacrtn@free.fr> [81dfff45b2e5b9810b23abe36f79757ce15f288f] + + Added missing Makefile to AC_OUT + + +2002-04-20 Baptiste Lepilleur <gaiacrtn@free.fr> [a6d73ef517d6fd6638ef9e20694026ae33bc7df7] + + Attempted dummy fix + + +2002-04-20 Baptiste Lepilleur <gaiacrtn@free.fr> [f7ee922e54cb1f2dd7c39149f02e0f858be7cb19] + + Attempted dummy fix + + +2002-04-20 Baptiste Lepilleur <gaiacrtn@free.fr> [67f3d059c02426b2151243e9086e3556a8066608] + + Attempted dummy fix + + +2002-04-20 Baptiste Lepilleur <gaiacrtn@free.fr> [e80efeca169e6c8dbb4664f75d0c8a48a397bf0f] + + No message + + +2002-04-20 Baptiste Lepilleur <gaiacrtn@free.fr> [e108e04fa44e87fd9a4e0fd6f665f04ece8b2fdd] + + removed ld.so + + +2002-04-20 Baptiste Lepilleur <gaiacrtn@free.fr> [7541b42da5138d42e1a784b856834dd79b022ac9] + + changed .at() to [] + + +2002-04-20 Baptiste Lepilleur <gaiacrtn@free.fr> [f05089dffe81419786776b60bc2dc13d2a421a5c] + + THANKS: updated + + THANKS: updated + + * src/cppunit/DynamicLibraryManager.cpp: bugfix: did not pass + library name to exception. + + * include/cppunit/TestPath.h: + * src/cppunit/TestPath.cpp: changed into value object. + + * src/cppunit/BeosDynamicLibraryManager.cpp: integrated patch from + Shibu Yoshiki for BeOS ('cuppa' project team). + + * src/DllPlugInTester/CommandLineParser.h: + * src/DllPlugInTester/CommandLineParser.cpp: added. Command line + parsing. + + * src/DllPlugInTester/DllPlugInTester.cpp: full command line support + with parameters for plug-ins. + + * src/DllPlugInTester/makefile.am: + * examples/simple/makefile.am: + * examples/cppunittest/makefile.am: integrated Jeffrey Morgan patch, + Unix side should be working again. + + * examples/ReadMe.txt: added. Brief description of each example. + + * examples/cppunittest/CppUnitTestPlugIn.cpp: + * examples/cppunittest/CppUnitTestPlugIn.dsp: added. New project to + build CppUnit's test suite as a test plug-in. + + * examples/cppunittest/CppUnitTestSuite.cpp: updated. Use new + helper macros to create the test suite hierarchy. + + * examples/simple/simple_plugin.opt: added. Contains debug tab + settings. + + * examples/ClockerPlugIn/ClockerListener.cpp: + * examples/ClockerPlugIn/ClockerListener.h: + * examples/ClockerPlugIn/Timer.cpp: + * examples/ClockerPlugIn/Timer.h: + * examples/ClockerPlugIn/WinNtTimer.cpp: + * examples/ClockerPlugIn/WinNtTimer.h: + * examples/ClockerPlugIn/ClockerPlugIn.cpp: + * examples/ClockerPlugIn/ClockerPlugIn.dsp: added. test listener + plug-in that times tests. + + * examples/DumperPlugIn/DumperListener.cpp: + * examples/DumperPlugIn/DumperListener.h: + * examples/DumperPlugIn/DumperPlugIn.cpp: + * examples/DumperPlugIn/DumperPlugIn.dsp: added. test listener + plug-in that dump the test tree. + +2002-04-19 Baptiste Lepilleur <gaiacrtn@free.fr> [c4995a9e022ed586cf4e3f166738dfe01bf51c16] + + release 1.9.4 + + +2002-04-19 Baptiste Lepilleur <gaiacrtn@free.fr> [6f18ffa547247dfdc1e764dd876eabc35d187d8f] + + release 1.9.4 + + +2002-04-19 Baptiste Lepilleur <gaiacrtn@free.fr> [132990f7754ed88caf4d03da395db4fe4947230f] + + release 1.9.4 + + +2002-04-19 Baptiste Lepilleur <gaiacrtn@free.fr> [0aebae162476acace5580d3b54109111ff3514ca] + + Src/cppunit/PlugInManager. + + src/cppunit/PlugInManager.cpp: fixed bug in unload(). + + * include/cppunit/TypeInfoHelper.h: + * src/cppunit/TypeInfoHelper.cpp: Implementation is now always available + is CPPUNIT_HAVE_RTTI is not 0. This removes the need to use + different libraries. CPPUNIT_USE_TYPEINFO_NAME can be set on a + case by case basis for HelperMacros. + + * src/cppunit/TestFactoryRegistry.cpp: removed unused include of + TypeInfoHelper.h. + + * include/cppunit/TextTestProgressListener.h: + * src/cppunit/TextTestProgressListener.cpp: used endTest() instead + of done() to finalize. + + * src/msvc6/TestPlugInRunner/TestPlugIn.h: + * src/msvc6/TestPlugInRunner/TestPlugIn.cpp: updated to use the + new test plug-in system. + + * examples/simple/SimplePlugIn.cpp: + * examples/simple/simple_plugin.dsp: crossplatform test plug-in + example using 'simple'. + + * examples/msvc6/EasyTestPlugIn/*: projects replaced with the + crossplatform projecct examples/simple/simple_plugin.dsp. + +2002-04-19 Baptiste Lepilleur <gaiacrtn@free.fr> [626e37841cfedef589fecb975876e7d22986cfb7] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + + * src/cppunit/TypeInfoHelper.cpp: fixed implementation to be more + portable. + +2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr> [d564cf8e0506bbc2c8c39ebbfb6d913d140afa6e] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + +2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr> [e77c0f10932d05cecbe8e5a54c6f46aea2ff0919] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + +2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr> [1b2b7f00caede2dea2960f21297767d73fb2404d] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + +2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr> [480e0b5ad43ab32d2d31a64295240e0a4f9e6a3d] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + +2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr> [24cab9efdce91f68cfbe687f5fdd203256ea38f9] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + +2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr> [0c7fb5f279e56f26a04d6d390150d8b6b456769e] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + +2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr> [5344c7ed620a32bfd5177fac5eedb026372b6cff] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + +2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr> [162c0c3207dfad18a221c20b71a3b4f74b57be02] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + +2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr> [d52d679fe5d63085ea6c8b4514456df41b4677be] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + +2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr> [0780ab42fae50562f1d579f135b68b8744173730] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + +2002-04-18 Baptiste Lepilleur <gaiacrtn@free.fr> [43eda14fc2e475d09b1d514c82aad4c54652b631] + + Configure. + + configure.in: added some makefile.am + + * contrib/readme.txt: updated. + + * contrib/bc5/bc5-makefile.zip: added borland 5.5 makefile. Contributed by + project cuppa. + +2002-04-17 Baptiste Lepilleur <gaiacrtn@free.fr> [87e5cf8f526380c40f63208c6c9e785f73d327b7] + + Bumped version to 1. + + bumped version to 1.9.3 + + * FAQ: added question about 4786 warning on VC++. + + * NEWS: updated. + + * contrib/msvc/readme.txt: moved to contrib/readme.txt. + + * contrib/xml-xsl/report.xsl: added XML style sheet contributed by + 'cuppa' project team (http://sourceforge.jp/projects/cuppa/) + + * examples/cppunittest/TestResultTest.h: + * examples/cppunittest/TestResultTest.cpp: added tests for + startTestRun()/endTestRun(). + + * examples/simple/*: added. A simple example. + + * include/cppunit/BriefTestProgressListener.h: + * src/cppunit/BriefTestProgressListener.cpp: added. Verbose progess listener + that print the test name before running the test. + + * include/cppunit/TestListener.h: added startTestRun()/endTestRun(). + + * include/cppunit/TestResult.h: + * src/cppunit/TestResult.cpp: added runTest(), to be called to run + a test by test runner. + + * src/cppunit/TextTestRunner.cpp: + * src/cppunit/TestRunner.cpp: updated to use TestResult::runTest(). + + * include/cppunit/plugin/PlugInManager.h: + * src/cppunit/PlugInManager.cpp: added. Managers for all loaded plug-ins. + + * include/cppunit/plugin/TestPlugInDefaultImpl.h: + * src/cppunit/TestPlugInDefaultImpl.cpp: renamed TestPlugInAdapter. All + implementations are empty. + + * include/cppunit/plugin/TestPlugInSuite.h: removed. + * src/cppunit/TestPlugInSuite.cpp: removed. Replaced by PlugInManager. + + * include/cppunit/plugin/TestPlugIn.h: rewrote the plug-in interface to + provide more versatility. updated macros to match new interface. + + * include/cppunit/extensions/TestFactoryRegistry.h: + * include/cppunit/extensions/TestFactoryRegistry.cpp: Added unregisterFactory(). + Added convenience method addRegistry(). Rewrote registry life cycle + management. AutoRegisterSuite can now detect that the registry has been + destroy and not call to it to unregister its test factory. + + * include/cppunit/extensions/AutoRegisterTest.h: on destruction, the registered + factory is unregistered from the registry. + + * include/cppunit/extensions/HelperMacros.h: added macros + CPPUNIT_REGISTRY_ADD_TO_DEFAULT and CPPUNIT_REGISTRY_ADD to help + build test suite hierarchy. + + * src/cppunit/msvc/DllPlugInTester/*: moved to src/cppunit/DllPlugInTester/. + + * src/cppunit/DllPlugInTester/DllPlugInTester.cpp: removed UNICODE stuffs. Use + the PlugInManager instead of PlugInTestSuite. Simplified: only one test on + command line, but many DLL can be specified. Added configurations to link + against cppunit dll, those are now the default configuration (static linking + don't make much sense for plug-in). + +2002-04-15 Baptiste Lepilleur <gaiacrtn@free.fr> [6c1e9ed0f8fd7339084186df71b4dfc4c98a524e] + + 1.9.2 release + + +2002-04-15 Baptiste Lepilleur <gaiacrtn@free.fr> [5266a9f8ed92bd764bfbdb53e948b9e73e1defd9] + + removed old config file that moved to config/ + + +2002-04-15 Baptiste Lepilleur <gaiacrtn@free.fr> [2133ec9c3ece7af5ce80dd73ad15781987ee090b] + + fixed flag for dlopen + + +2002-04-15 Baptiste Lepilleur <gaiacrtn@free.fr> [cf352512860130973fa99c2a017ddb68525c26cd] + + fixed typo + + +2002-04-15 Baptiste Lepilleur <gaiacrtn@free.fr> [e508c621cb32033278f5c83cdc6d74beb2ed03a9] + + correct sucess typo. + + +2002-04-15 Baptiste Lepilleur <gaiacrtn@free.fr> [617df034edf60f5792f09d7a03085907644cc55d] + + updated main definition on unix + + +2002-04-15 Baptiste Lepilleur <gaiacrtn@free.fr> [20c6f600f1c80aa16aa12761ea534b3af81a0be7] + + NEWS: updated. + + NEWS: updated. + + * configure.in: added include/cppunit/config/Makefile and + include/cppunit/plugin/Makefile to the list of target. + + * doc/CppUnit-win.dox: enabled generation of HTML Help documentation. + + * include/cppunit/config/Makefile.am: + * include/cppunit/plugin/Makefile.am: added. + + * include/cppunit/config-bcb5.h: + * include/cppunit/config-msvc6.h: + * include/cppunit/config-mac.h: moved to include/cppunit/config/. + + * include/cppunit/Portability.h: updated config files location. Added macros + CPPUNIT_STRINGIZE and CPPUNIT_JOIN (implementation adapted from boost.org). + Added macro CPPUNIT_MAKE_UNIQUE_NAME. + + * include/cppunit/Test.h: modified methods order. + + * include/cppunit/extensions/HelperMacros.h: renamed macro + __CPPUNIT_MAKE_UNIQUE_NAME to CPPUNIT_MAKE_UNIQUE_NAME and moved its + definition to include/cppunit/Portability.h. + + * include/cppunit/extensions/TestDecorator.h: Inherits Test instead of TestLeaf. + + * include/cppunit/plugin/DynamicLibraryManager.h: + * src/cppunit/DynamicLibraryManager.cpp: added. DLL manager (load & lookup + symbol). + + * src/cppunit/BeOsDynamicLibraryManager.cpp: + * src/cppunit/UnixDynamicLibraryManager.cpp: + * src/cppunit/Win32DynamicLibraryManager.cpp: added. Implementation of + platform dependent methods of DynamicLibraryManager. + + * include/cppunit/plugin/DynamicLibraryManagerException.h: + * src/cppunit/DynamicLibraryManagerException.cpp: added. Exception thrown + by DynamicLibraryManager. + + * include/cppunit/plugin/TestPlugIn.h: added. CppUnitTestPlugIn interface + definition. Helper macros to implements plug-in. + + * include/cppunit/plugin/TestPlugInSuite.h: + * src/cppunit/plugin/TestPlugInSuite.cpp: added. A suite to wrap a test + plug-in. + + * include/cppunit/plugin/TestPlugInDefaultImpl.h: + * src/cppunit/TestPlugInDefaultImpl.cpp: added. A default implementation + of the test plug-in interface. + + * src/msvc6/DllPlugInTester/DllPlugInTester.cpp: updated to use the + new TestPlugIn. + + * examples/cppunittest/TestResultCollectorTest.cpp: fixed typo. + +2002-04-15 Baptiste Lepilleur <gaiacrtn@free.fr> [1b4bcf6f703248cb397587fe08635a1491d460ec] + + NEWS: updated. + + NEWS: updated. + + * configure.in: added include/cppunit/config/Makefile and + include/cppunit/plugin/Makefile to the list of target. + + * doc/CppUnit-win.dox: enabled generation of HTML Help documentation. + + * include/cppunit/config/Makefile.am: + * include/cppunit/plugin/Makefile.am: added. + + * include/cppunit/config-bcb5.h: + * include/cppunit/config-msvc6.h: + * include/cppunit/config-mac.h: moved to include/cppunit/config/. + + * include/cppunit/Portability.h: updated config files location. Added macros + CPPUNIT_STRINGIZE and CPPUNIT_JOIN (implementation adapted from boost.org). + Added macro CPPUNIT_MAKE_UNIQUE_NAME. + + * include/cppunit/Test.h: modified methods order. + + * include/cppunit/extensions/HelperMacros.h: renamed macro + __CPPUNIT_MAKE_UNIQUE_NAME to CPPUNIT_MAKE_UNIQUE_NAME and moved its + definition to include/cppunit/Portability.h. + + * include/cppunit/extensions/TestDecorator.h: Inherits Test instead of TestLeaf. + + * include/cppunit/plugin/DynamicLibraryManager.h: + * src/cppunit/DynamicLibraryManager.cpp: added. DLL manager (load & lookup + symbol). + + * src/cppunit/BeOsDynamicLibraryManager.cpp: + * src/cppunit/UnixDynamicLibraryManager.cpp: + * src/cppunit/Win32DynamicLibraryManager.cpp: added. Implementation of + platform dependent methods of DynamicLibraryManager. + + * include/cppunit/plugin/DynamicLibraryManagerException.h: + * src/cppunit/DynamicLibraryManagerException.cpp: added. Exception thrown + by DynamicLibraryManager. + + * include/cppunit/plugin/TestPlugIn.h: added. CppUnitTestPlugIn interface + definition. Helper macros to implements plug-in. + + * include/cppunit/plugin/TestPlugInSuite.h: + * src/cppunit/plugin/TestPlugInSuite.cpp: added. A suite to wrap a test + plug-in. + + * include/cppunit/plugin/TestPlugInDefaultImpl.h: + * src/cppunit/TestPlugInDefaultImpl.cpp: added. A default implementation + of the test plug-in interface. + + * src/msvc6/DllPlugInTester/DllPlugInTester.cpp: updated to use the + new TestPlugIn. + + * examples/cppunittest/TestResultCollectorTest.cpp: fixed typo. + +2002-04-14 Baptiste Lepilleur <gaiacrtn@free.fr> [5f5af41d52c01c8320baffea21cd60ebbb16380b] + + NEWS: updated. + + NEWS: updated. + + * include/cppunit/TestSucessListener.h: + * src/cppunit/TestSucessListener.cpp: renamed TestSuccessListener + + * doc/cookbook.dox: + * src/msvc6/DllPlugInTester/DllPlugInTester.cpp: + * examples/cppunittest/TestResultCollectorTest.h: + * examples/cppunittest/TestResultCollectorTest.cpp: + * examples/cppunittest/XmlOutputterTest.h: + * examples/cppunittest/XmlOutputterTest.cpp: + * include/cppunit/CompilerOutputter.h: + * include/cppunit/TestListener.h: + * include/cppunit/XmlOutputter.h: + * src/cppunit/XmlOutputter.cpp: + * src/cppunit/CompilerOutputter.cpp: fixed 'success' typo (was misspelled + 'sucess'). + + * include/cppunit/TestResultCollector.h: + * src/cppunit/TestResultCollector.cpp: updated (renaming of + TestSucessListener). + + * src/cppunit/XmlOutputter.cpp: + * examples/cppunittest/XmlOutputterTest.cpp: Changed SucessfulTests tag to + SucessfulTests. + +2002-04-13 Baptiste Lepilleur <gaiacrtn@free.fr> [70d62c5c20105c982df7379e2e61148fc959ff35] + + Include/cppunit/XmlOutputter. + + include/cppunit/XmlOutputter.h: + * src/cppunit/XmlOutputter.cpp: Made XML output more human readable. Idented element. + + * examples/cppunittest/XmlUniformiser.h: + * examples/cppunittest/XmlUniformiser.cpp: + * examples/cppunittest/XmlUniformiserTest.cpp: modified to ignore trailing space + at the end of element content. + +2002-04-13 Baptiste Lepilleur <gaiacrtn@free.fr> [342c67d11745f45c60deea59163c035ca5780619] + + NEWS: updated + + NEWS: updated + + * doc/other_documentation.dox: addded new module for test plug-in. + + * include/msvc6/DSPlugin/TestRunnerDSPlugin.h: + * include/msvc6/DSPlugin/TestRunnerDSPlugin_i.c: added. Those file are + generated by project src/msvc/DSPlugin. They are provided to allow + compilation of TestRunner without compiling DSPlugIn which does not + build on VC++ 7. + + * examples/examples.dsw: removed DSPlugIn for workspace (fail to build + with VC++ 7). Added DllPlugInTester.dsp to workspace. + + * examples/msvc6/TestPlugIn/TestPlugIn.dsp: added post-build unit testing + using the new DllPlugInTester. + + * examples/msvc6/EasyTestPlugIn/*: a new project that + demonstrates the use of CPPUNIT_TESTPLUGIN_IMPL to create a test plug-in. + + * src/cppunit/cppunit.dsw: + * src/TestPlugInRunner.dsw: + * src/TestRunner.dsw: removed. Should use src/CppUnitLibraries.dsw instead. + + * include/cppunit/ui/text/TestRunner.h: + * src/cppunit/TextTestRunner.cpp: removed findTestName() method. Replaced + by Test::findTest(). + + * src/msvc6/DSPlugIn/DSPlugIn.dsp: + * src/msvc6/DSPlugIn/DSAddIn.h: changed include for add-in. MIDL generates + files in sub-directory ToAddToDistribution. Generated file should be + copied to include/msvc6/DSPlugin when modified. This remove the dependecy + of MfcTestRunner on DSPlugIn. + + * src/msvc6/testrunner/ListCtrlFormatter.h: + * src/msvc6/testrunner/ListCtrlFormatter.cpp: added GetNextColumnIndex(). + + * src/msvc6/testrunner/src/TestRunnerDlg.h: + * src/msvc6/testrunner/src/TestRunnerDlg.cpp: set column number in + MsDevCallerListCtrl when initializing the list. + + * src/msvc6/testrunner/src/MsDevCallerListCtrl.h: + * src/msvc6/testrunner/src/MsDevCallerListCtrl.cpp: column indexes for + file and line number are no longer static. Added methods to set those + indexes. Changed DSPlugIn header name. + + * include/msvc6/testrunner/TestPlugInInterface.h: fixed inclusion of + windows header for WINAPI. Added macro CPPUNIT_TESTPLUGIN_IMPL to + automatically implements a test plug-in. + + * src/msvc6/DllPlugInTester/*: added new project. A application to test DLL + and report using CompilerOutputter. Target for post-build testing and + debugging of DLL. + +2002-04-13 Baptiste Lepilleur <gaiacrtn@free.fr> [078219e49578aacebe75c3030e937382e9bcc25a] + + NEWS: updated + + NEWS: updated + + * doc/other_documentation.dox: addded new module for test plug-in. + + * include/msvc6/DSPlugin/TestRunnerDSPlugin.h: + * include/msvc6/DSPlugin/TestRunnerDSPlugin_i.c: added. Those file are + generated by project src/msvc/DSPlugin. They are provided to allow + compilation of TestRunner without compiling DSPlugIn which does not + build on VC++ 7. + + * examples/examples.dsw: removed DSPlugIn for workspace (fail to build + with VC++ 7). Added DllPlugInTester.dsp to workspace. + + * examples/msvc6/TestPlugIn/TestPlugIn.dsp: added post-build unit testing + using the new DllPlugInTester. + + * examples/msvc6/EasyTestPlugIn/*: a new project that + demonstrates the use of CPPUNIT_TESTPLUGIN_IMPL to create a test plug-in. + + * src/cppunit/cppunit.dsw: + * src/TestPlugInRunner.dsw: + * src/TestRunner.dsw: removed. Should use src/CppUnitLibraries.dsw instead. + + * include/cppunit/ui/text/TestRunner.h: + * src/cppunit/TextTestRunner.cpp: removed findTestName() method. Replaced + by Test::findTest(). + + * src/msvc6/DSPlugIn/DSPlugIn.dsp: + * src/msvc6/DSPlugIn/DSAddIn.h: changed include for add-in. MIDL generates + files in sub-directory ToAddToDistribution. Generated file should be + copied to include/msvc6/DSPlugin when modified. This remove the dependecy + of MfcTestRunner on DSPlugIn. + + * src/msvc6/testrunner/ListCtrlFormatter.h: + * src/msvc6/testrunner/ListCtrlFormatter.cpp: added GetNextColumnIndex(). + + * src/msvc6/testrunner/src/TestRunnerDlg.h: + * src/msvc6/testrunner/src/TestRunnerDlg.cpp: set column number in + MsDevCallerListCtrl when initializing the list. + + * src/msvc6/testrunner/src/MsDevCallerListCtrl.h: + * src/msvc6/testrunner/src/MsDevCallerListCtrl.cpp: column indexes for + file and line number are no longer static. Added methods to set those + indexes. Changed DSPlugIn header name. + + * include/msvc6/testrunner/TestPlugInInterface.h: fixed inclusion of + windows header for WINAPI. Added macro CPPUNIT_TESTPLUGIN_IMPL to + automatically implements a test plug-in. + + * src/msvc6/DllPlugInTester/*: added new project. A application to test DLL + and report using CompilerOutputter. Target for post-build testing and + debugging of DLL. + +2002-04-13 Baptiste Lepilleur <gaiacrtn@free.fr> [e3b064511e6afaac020f6798101f3415fa5b5669] + + NEWS: updated + + NEWS: updated + + * doc/other_documentation.dox: addded new module for test plug-in. + + * include/msvc6/DSPlugin/TestRunnerDSPlugin.h: + * include/msvc6/DSPlugin/TestRunnerDSPlugin_i.c: added. Those file are + generated by project src/msvc/DSPlugin. They are provided to allow + compilation of TestRunner without compiling DSPlugIn which does not + build on VC++ 7. + + * examples/examples.dsw: removed DSPlugIn for workspace (fail to build + with VC++ 7). Added DllPlugInTester.dsp to workspace. + + * examples/msvc6/TestPlugIn/TestPlugIn.dsp: added post-build unit testing + using the new DllPlugInTester. + + * examples/msvc6/EasyTestPlugIn/*: a new project that + demonstrates the use of CPPUNIT_TESTPLUGIN_IMPL to create a test plug-in. + + * src/cppunit/cppunit.dsw: + * src/TestPlugInRunner.dsw: + * src/TestRunner.dsw: removed. Should use src/CppUnitLibraries.dsw instead. + + * include/cppunit/ui/text/TestRunner.h: + * src/cppunit/TextTestRunner.cpp: removed findTestName() method. Replaced + by Test::findTest(). + + * src/msvc6/DSPlugIn/DSPlugIn.dsp: + * src/msvc6/DSPlugIn/DSAddIn.h: changed include for add-in. MIDL generates + files in sub-directory ToAddToDistribution. Generated file should be + copied to include/msvc6/DSPlugin when modified. This remove the dependecy + of MfcTestRunner on DSPlugIn. + + * src/msvc6/testrunner/ListCtrlFormatter.h: + * src/msvc6/testrunner/ListCtrlFormatter.cpp: added GetNextColumnIndex(). + + * src/msvc6/testrunner/src/TestRunnerDlg.h: + * src/msvc6/testrunner/src/TestRunnerDlg.cpp: set column number in + MsDevCallerListCtrl when initializing the list. + + * src/msvc6/testrunner/src/MsDevCallerListCtrl.h: + * src/msvc6/testrunner/src/MsDevCallerListCtrl.cpp: column indexes for + file and line number are no longer static. Added methods to set those + indexes. Changed DSPlugIn header name. + + * include/msvc6/testrunner/TestPlugInInterface.h: fixed inclusion of + windows header for WINAPI. Added macro CPPUNIT_TESTPLUGIN_IMPL to + automatically implements a test plug-in. + + * src/msvc6/DllPlugInTester/*: added new project. A application to test DLL + and report using CompilerOutputter. Target for post-build testing and + debugging of DLL. + +2002-04-13 Baptiste Lepilleur <gaiacrtn@free.fr> [7cbee31232ecfa1c62427534a017258fa3651819] + + NEWS: updated + + NEWS: updated + + * doc/other_documentation.dox: addded new module for test plug-in. + + * include/msvc6/DSPlugin/TestRunnerDSPlugin.h: + * include/msvc6/DSPlugin/TestRunnerDSPlugin_i.c: added. Those file are + generated by project src/msvc/DSPlugin. They are provided to allow + compilation of TestRunner without compiling DSPlugIn which does not + build on VC++ 7. + + * examples/examples.dsw: removed DSPlugIn for workspace (fail to build + with VC++ 7). Added DllPlugInTester.dsp to workspace. + + * examples/msvc6/TestPlugIn/TestPlugIn.dsp: added post-build unit testing + using the new DllPlugInTester. + + * examples/msvc6/EasyTestPlugIn/*: a new project that + demonstrates the use of CPPUNIT_TESTPLUGIN_IMPL to create a test plug-in. + + * src/cppunit/cppunit.dsw: + * src/TestPlugInRunner.dsw: + * src/TestRunner.dsw: removed. Should use src/CppUnitLibraries.dsw instead. + + * include/cppunit/ui/text/TestRunner.h: + * src/cppunit/TextTestRunner.cpp: removed findTestName() method. Replaced + by Test::findTest(). + + * src/msvc6/DSPlugIn/DSPlugIn.dsp: + * src/msvc6/DSPlugIn/DSAddIn.h: changed include for add-in. MIDL generates + files in sub-directory ToAddToDistribution. Generated file should be + copied to include/msvc6/DSPlugin when modified. This remove the dependecy + of MfcTestRunner on DSPlugIn. + + * src/msvc6/testrunner/ListCtrlFormatter.h: + * src/msvc6/testrunner/ListCtrlFormatter.cpp: added GetNextColumnIndex(). + + * src/msvc6/testrunner/src/TestRunnerDlg.h: + * src/msvc6/testrunner/src/TestRunnerDlg.cpp: set column number in + MsDevCallerListCtrl when initializing the list. + + * src/msvc6/testrunner/src/MsDevCallerListCtrl.h: + * src/msvc6/testrunner/src/MsDevCallerListCtrl.cpp: column indexes for + file and line number are no longer static. Added methods to set those + indexes. Changed DSPlugIn header name. + + * include/msvc6/testrunner/TestPlugInInterface.h: fixed inclusion of + windows header for WINAPI. Added macro CPPUNIT_TESTPLUGIN_IMPL to + automatically implements a test plug-in. + + * src/msvc6/DllPlugInTester/*: added new project. A application to test DLL + and report using CompilerOutputter. Target for post-build testing and + debugging of DLL. + +2002-04-13 Baptiste Lepilleur <gaiacrtn@free.fr> [94a8e22283176893db25e23f69e14000a96dfdee] + + NEWS: updated + + NEWS: updated + + * doc/other_documentation.dox: addded new module for test plug-in. + + * include/msvc6/DSPlugin/TestRunnerDSPlugin.h: + * include/msvc6/DSPlugin/TestRunnerDSPlugin_i.c: added. Those file are + generated by project src/msvc/DSPlugin. They are provided to allow + compilation of TestRunner without compiling DSPlugIn which does not + build on VC++ 7. + + * examples/examples.dsw: removed DSPlugIn for workspace (fail to build + with VC++ 7). Added DllPlugInTester.dsp to workspace. + + * examples/msvc6/TestPlugIn/TestPlugIn.dsp: added post-build unit testing + using the new DllPlugInTester. + + * examples/msvc6/EasyTestPlugIn/*: a new project that + demonstrates the use of CPPUNIT_TESTPLUGIN_IMPL to create a test plug-in. + + * src/cppunit/cppunit.dsw: + * src/TestPlugInRunner.dsw: + * src/TestRunner.dsw: removed. Should use src/CppUnitLibraries.dsw instead. + + * include/cppunit/ui/text/TestRunner.h: + * src/cppunit/TextTestRunner.cpp: removed findTestName() method. Replaced + by Test::findTest(). + + * src/msvc6/DSPlugIn/DSPlugIn.dsp: + * src/msvc6/DSPlugIn/DSAddIn.h: changed include for add-in. MIDL generates + files in sub-directory ToAddToDistribution. Generated file should be + copied to include/msvc6/DSPlugin when modified. This remove the dependecy + of MfcTestRunner on DSPlugIn. + + * src/msvc6/testrunner/ListCtrlFormatter.h: + * src/msvc6/testrunner/ListCtrlFormatter.cpp: added GetNextColumnIndex(). + + * src/msvc6/testrunner/src/TestRunnerDlg.h: + * src/msvc6/testrunner/src/TestRunnerDlg.cpp: set column number in + MsDevCallerListCtrl when initializing the list. + + * src/msvc6/testrunner/src/MsDevCallerListCtrl.h: + * src/msvc6/testrunner/src/MsDevCallerListCtrl.cpp: column indexes for + file and line number are no longer static. Added methods to set those + indexes. Changed DSPlugIn header name. + + * include/msvc6/testrunner/TestPlugInInterface.h: fixed inclusion of + windows header for WINAPI. Added macro CPPUNIT_TESTPLUGIN_IMPL to + automatically implements a test plug-in. + + * src/msvc6/DllPlugInTester/*: added new project. A application to test DLL + and report using CompilerOutputter. Target for post-build testing and + debugging of DLL. + +2002-04-13 Baptiste Lepilleur <gaiacrtn@free.fr> [3e30eb9abe806a69e033e32d13a1986a42591f29] + + NEWS: updated + + NEWS: updated + + * doc/other_documentation.dox: addded new module for test plug-in. + + * include/msvc6/DSPlugin/TestRunnerDSPlugin.h: + * include/msvc6/DSPlugin/TestRunnerDSPlugin_i.c: added. Those file are + generated by project src/msvc/DSPlugin. They are provided to allow + compilation of TestRunner without compiling DSPlugIn which does not + build on VC++ 7. + + * examples/examples.dsw: removed DSPlugIn for workspace (fail to build + with VC++ 7). Added DllPlugInTester.dsp to workspace. + + * examples/msvc6/TestPlugIn/TestPlugIn.dsp: added post-build unit testing + using the new DllPlugInTester. + + * examples/msvc6/EasyTestPlugIn/*: a new project that + demonstrates the use of CPPUNIT_TESTPLUGIN_IMPL to create a test plug-in. + + * src/cppunit/cppunit.dsw: + * src/TestPlugInRunner.dsw: + * src/TestRunner.dsw: removed. Should use src/CppUnitLibraries.dsw instead. + + * include/cppunit/ui/text/TestRunner.h: + * src/cppunit/TextTestRunner.cpp: removed findTestName() method. Replaced + by Test::findTest(). + + * src/msvc6/DSPlugIn/DSPlugIn.dsp: + * src/msvc6/DSPlugIn/DSAddIn.h: changed include for add-in. MIDL generates + files in sub-directory ToAddToDistribution. Generated file should be + copied to include/msvc6/DSPlugin when modified. This remove the dependecy + of MfcTestRunner on DSPlugIn. + + * src/msvc6/testrunner/ListCtrlFormatter.h: + * src/msvc6/testrunner/ListCtrlFormatter.cpp: added GetNextColumnIndex(). + + * src/msvc6/testrunner/src/TestRunnerDlg.h: + * src/msvc6/testrunner/src/TestRunnerDlg.cpp: set column number in + MsDevCallerListCtrl when initializing the list. + + * src/msvc6/testrunner/src/MsDevCallerListCtrl.h: + * src/msvc6/testrunner/src/MsDevCallerListCtrl.cpp: column indexes for + file and line number are no longer static. Added methods to set those + indexes. Changed DSPlugIn header name. + + * include/msvc6/testrunner/TestPlugInInterface.h: fixed inclusion of + windows header for WINAPI. Added macro CPPUNIT_TESTPLUGIN_IMPL to + automatically implements a test plug-in. + + * src/msvc6/DllPlugInTester/*: added new project. A application to test DLL + and report using CompilerOutputter. Target for post-build testing and + debugging of DLL. + +2002-04-12 Baptiste Lepilleur <gaiacrtn@free.fr> [8cabaebd9f8689ca96184daf415e3cc6cf67d722] + + Include/cppunit/CompilerOutputter. + + include/cppunit/CompilerOutputter.h: + * src/cppunit/CompilerOutputter.h: deprecated defaultOuputter(). Added + setLocationFormat() and format specifiation in constructor. A string that + represent the location format is used to output the location. Default format + is defined by CPPUNIT_COMPILER_LOCATION_FORMAT. + + * include/cppunit/config-msvc6.h: + * include/cppunit/Portability.h: added CPPUNIT_COMPILER_LOCATION_FORMAT. Use + gcc location format if VC++ is not detected. + + * include/cppunit/Test.h: fixed documentation. + + * include/cppunit/TestListener.h: added startSuite() and endSuite() + callbacks. Added new example to documentation. + + * include/cppunit/TestResult.h: + * src/cppunit/TestResult.cpp: + * include/cppunit/TestComposite.h: + * src/cppunit/TestComposite.cpp: Updated to inform the listeners. + + * src/qttestrunner/TestBrowserDlgImpl.cpp: used Test new composite interface + instead of RTTI to explore the test hierarchy. + + * examples/cppunittest/MockTestListener.h: + * examples/cppunittest/MockTestListener.cpp: updated,added support for + startSuite() and endSuite(). + + * examples/cppunittest/TestResultTest.h: + * examples/cppunittest/TestResultTest.cpp: added tests for startSuite() + and endSuite(). + +2002-04-12 Baptiste Lepilleur <gaiacrtn@free.fr> [ed406a2966e62072fa6afaca8abc578db7c0c9fb] + + Makefile. + + Makefile.am: added examples/qt to tar ball release. + + * TODO: heavily updated. + + * contrib/msvc/CppUnit*.wwtpl: changed base class for unit test to TestFixture. + + * include/cppunit/Test.h: removed toString() method. Not used by the framework + and source of confusions with getName(). + Added getChildTestCount() and getChildTestAt(), introducing the composite pattern + at top level. Added utility methods findTest() and findTestPath(). + + * src/cppunit/Test.cpp: added. Implementation of new utility methods. + + * include/cppunit/TestCase.h: + * src/cppunit/TestCase.cpp: inherits TestLeaf. Removed toString(), run(void) and + defaultResult(). Removed default constructor. + + * src/cppunit/TestCase.cpp: + * src/cppunit/TestSuite.cpp: fixed some includes that used "" instead of <>. + + * include/cppunit/TestComposite.h: + * src/cppunit/TestComposite.cpp: added. Common implementation of Test for composite + tests (TestSuite). + + * include/cppunit/TestFailure.h: + * src/cppunit/TestFailure.cpp: removed toString(). + + * include/cppunit/TestLeaf.h: + * src/cppunit/TestLeaf.cpp: added. Common implementation of Test for single test + (TestCase). + + * include/cppunit/TestListener.h: added TimingListener example to documentation. + + * include/cppunit/TestPath.h: + * src/cppunit/TestPath.cpp: added. List of test traversed to access a test in the + test hierarchy. + + * include/cppunit/TestRunner.h: added. Generic TestRunner. + + * src/cppunit/TestRunner.cpp: moved to TextTestRunner.cpp. Added new implementation + of includecppunit/TestRunner.h. + + * include/cppunit/TestSuite.h: + * src/cppunit/TestSuite.cpp: inherits TestComposite and implements new Test + interface. Removed toString(). + + * src/cppunit/TextTestRunner.cpp: moved from TestRunner.cpp. Implementation of + include/cppunit/ui/text/TestRunner.h. + + * include/cppunit/extensions/RepeatedTest.h: + * src/cppunit/RepeatedTest.cpp: removed toString(). + + * include/cppunit/extensions/TestDecorator.h: inherits TestLeaf. + Removed toString() + + * include/cppunit/XmlOutputter.h: + * src/cppunit/XmlOutputter.cpp: + * examples/cppunittest/XmlOutputterTest.cpp: + * examples/cppunittest/XmlOutputterTest.h: XML outputter now escape node content. + Add unit test for that bug (#540944). Added style sheet support. Modified + XML structure: failure message as its own element. + + * src/msvc/testrunner/TestRunnerModel.h: + * src/msvc/testrunner/TestRunnerModel.cpp: used Test::findTest() to find a test + by name instead of using RTTI. Added toAnsiString() for convertion when + compiling as UNICODE. + + * src/msvc/testrunner/TreeHierarchyDlg.h: + * src/msvc/testrunner/TreeHierarchyDlg.cpp: used new composite interface of Test + to explorer the test hierarchy instead of RTTI. + + * examples/cppunittest/TestPathTest.h: + * examples/cppunittest/TestPathTest.cpp: added, unit tests for TestPath. + + * examples/cppunittest/TestCaseTest.h: + * examples/cppunittest/TestCaseTest.cpp: added test for TestLeaf. + + * examples/cppunittest/TestSuiteTest.h: + * examples/cppunittest/TestSuiteTest.cpp: added test for TestComposite and + new Test interface. + +2002-04-11 Baptiste Lepilleur <gaiacrtn@free.fr> [fc9c76622b19adfcdebce682d9d49db8fb9336ef] + + Configure. + + configure.in: bumped version to 1.9.0 + + * NEWS: added version 1.9.0 + +2002-04-11 Baptiste Lepilleur <gaiacrtn@free.fr> [f7fe44a9c7ca682ac755c29dd3d54a7a173c4359] + + release 1.8.0 + + +2002-04-11 Baptiste Lepilleur <gaiacrtn@free.fr> [06665726ddf7e8d7c4434c3b778e0bcd84517adb] + + Doc/FAQ: removed question about the Exception::operator =() problem. + + doc/FAQ: removed question about the Exception::operator =() problem. + + * release 1.8.0 + +2002-04-11 Baptiste Lepilleur <gaiacrtn@free.fr> [9ded9f39938610aa8ed5a2f853d8ec0efd833c9a] + + Doc/FAQ: removed question about the Exception::operator =() problem. + + doc/FAQ: removed question about the Exception::operator =() problem. + + * release 1.8.0 + +2002-04-11 Steve M. Robbins <smr@sumost.ca> [8f91b2ff40b3d554352c97c10386b0d1a038d148] + + Fix up header rearrangement. + + +2002-04-10 Baptiste Lepilleur <gaiacrtn@free.fr> [d10b7635d2678c53b1141b162f71d4f6bf47c42f] + + Makefile. + + Makefile.am: removed directory cppunitui from copy when making the dist. + + * include/cppunit/ui: added Makefile.am for dist and install. + +2002-04-10 Baptiste Lepilleur <gaiacrtn@free.fr> [c2b6782980ccfe65cbce098c5b86f1b5ef87e903] + + Makefile. + + Makefile.am: removed directory cppunitui from copy when making the dist. + + * include/cppunit/ui: added Makefile.am for dist and install. + +2002-04-10 Baptiste Lepilleur <gaiacrtn@free.fr> [6c2d743aed2eb4c0a960edaadc7366faa3b24c5c] + + Include/cppunitui/: moved to include/cppunit/ui (fix unix install problem). + + include/cppunitui/: moved to include/cppunit/ui (fix unix install problem). + + * doc/cookbook.dox: + * examples/cppunittest/CppUnitTestMain.cpp: + * examples/msvc/CppUnitTestApp/HostApp.cpp: + * examples/msvc/HostApp/HostApp.cpp: + * examples/qt/Main.Cpp: + * examples/src/cppunit/TestRunner.cpp: + * examples/src/msvc6/TestRunner/TestRunner.cpp: + * examples/src/qttestrunner/TestRunner.cpp: updated to use <cppunit/ui/...> + instead of <cppunitui/...> in include directives. + + * doc/CppUnit-win.dox: generated documentation give the include path at the + bottom of the page for each class. + + * NEWS: added compatibility break for 1.7.10 users. + +2002-04-05 Baptiste Lepilleur <gaiacrtn@free.fr> [0e44bc8d5fa467b9d1c835b2e40b17f538e4bbe3] + + examples/cppunittest/CppUnitTestMain.cpp: never wait for a key press. + + +2002-04-04 Baptiste Lepilleur <gaiacrtn@free.fr> [24000339facc182150fc564a4d85f99d89dd3e13] + + NEW: added CPPUNIT_ASSERT_EQUAL_MESSAGE compatiblity break. + + NEW: added CPPUNIT_ASSERT_EQUAL_MESSAGE compatiblity break. + + * include/cppunit/TestAssert.h: changed arguments order for + CPPUNIT_ASSERT_EQUAL_MESSAGE. 'message' is now the first argument instead + of the last (like CPPUNIT_ASSERT_MESSAGE). + + * examples/cppunittest/MockTestCase.cpp: + * examples/cppunittest/MockTestListener.cpp: updated to reflect change on + CPPUNIT_ASSERT_EQUAL_MESSAGE. + +2002-03-28 Baptiste Lepilleur <gaiacrtn@free.fr> [fecba1bea1788196b7d64b7153a469cd87097252] + + configure.in: bumped version to 1.7.11 + + +2002-03-28 Baptiste Lepilleur <gaiacrtn@free.fr> [1f72a8cc3721e0f003cec62f9529cbac8e744d22] + + No message + + +2002-03-28 Baptiste Lepilleur <gaiacrtn@free.fr> [a43fcdf57ef415ce43cdf4a1d3ce0bdf8bd29e4e] + + Doc/cookbook. + + doc/cookbook.html: removed. Replaced by cookbook.doc. + + * doc/cookbook.dox: added, conversion of cookbook.html to Doxygen format. + + * doc/other_documentation.dox: added groups definition. + + * doc/Makefile.am: replaced cookbook.html by cookbook.dox + + * doc/Doxyfile.in: added predefined CPPUNIT_HAVE_CPP_SOURCE_ANNOTATION. + Replaced cookbook.html by cookbook.dox. + + * include/cppunitui/mfc/TestRunner.h: added, extracted from + include/msvc6/testrunner/TestRunner.h. Moved class TestRunner to namespace + CppUnit::MfcUi. + + * include/msvc6/testrunner/TestRunner.h: deprecated. A simple typedef to + CppUnit::MfcUi::TestRunner. + + * include/textui/TestRuner.h: added, extracted from + include/cppunit/TextTestRunner.h. + + * src/cppunit/TextTestRunner.cpp: renamed TestRunner.cpp. Moved into + namespace CppUnit::TextUi. + + * src/msvc6/testruner/TestRunner.cpp: moved into namespace CppUnit::MfcUi. + + * src/cppunit/CompilerOutputter.cpp: removed printing "- " before + NotEqualException addional message, for consistency between different + TestRunner (Mfc,Text...) + + * include/cppunit/Asserter.h: + * include/cppunit/CompilerOutputter.h: + * include/cppunit/Exception.h: + * include/cppunit/NotEqualException.h: + * include/cppunit/Outputter.h: + * include/cppunit/SourceLine.h: + * include/cppunit/TestAssert.h: + * include/cppunit/TestCaller.h: + * include/cppunit/TestFailure.h: + * include/cppunit/TestFixture.h: + * include/cppunit/TestListener.h: + * include/cppunit/TestResult.h: + * include/cppunit/TestResultCollector.h: + * include/cppunit/TestSucessListener.h: + * include/cppunit/TestSuite.h: + * include/cppunit/TextTestProgressListener.h: + * include/cppunit/TextTestRunner.h: + * include/cppunit/XmlOutputter.h: + * include/cppunit/extensions/AutoRegisterSuite.h: + * include/cppunit/extensions/HelperMacros.h: + * include/cppunit/extensions/TestFactoryRegistry.h: + * include/cppunit/extensions/TestSuiteBuilder.h: + * include/cppunit/extensions/TestSuiteFactory.h: doc update. organization + in groups. + + * examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp: + * examples/msvc6/HostApp/HostApp.cpp: updated to use + CppUnit::MfcUi::TestRunner. + + * examples/cppunittest/CppUnitTestMain.cpp: updated to use + CppUnit::TextUi::TestRunner. + +2002-03-28 Baptiste Lepilleur <gaiacrtn@free.fr> [82d51cba4c7cc8d756ab14fdfc28181f007f3848] + + Doc/cookbook. + + doc/cookbook.html: removed. Replaced by cookbook.doc. + + * doc/cookbook.dox: added, conversion of cookbook.html to Doxygen format. + + * doc/other_documentation.dox: added groups definition. + + * doc/Makefile.am: replaced cookbook.html by cookbook.dox + + * doc/Doxyfile.in: added predefined CPPUNIT_HAVE_CPP_SOURCE_ANNOTATION. + Replaced cookbook.html by cookbook.dox. + + * include/cppunitui/mfc/TestRunner.h: added, extracted from + include/msvc6/testrunner/TestRunner.h. Moved class TestRunner to namespace + CppUnit::MfcUi. + + * include/msvc6/testrunner/TestRunner.h: deprecated. A simple typedef to + CppUnit::MfcUi::TestRunner. + + * include/textui/TestRuner.h: added, extracted from + include/cppunit/TextTestRunner.h. + + * src/cppunit/TextTestRunner.cpp: renamed TestRunner.cpp. Moved into + namespace CppUnit::TextUi. + + * src/msvc6/testruner/TestRunner.cpp: moved into namespace CppUnit::MfcUi. + + * src/cppunit/CompilerOutputter.cpp: removed printing "- " before + NotEqualException addional message, for consistency between different + TestRunner (Mfc,Text...) + + * include/cppunit/Asserter.h: + * include/cppunit/CompilerOutputter.h: + * include/cppunit/Exception.h: + * include/cppunit/NotEqualException.h: + * include/cppunit/Outputter.h: + * include/cppunit/SourceLine.h: + * include/cppunit/TestAssert.h: + * include/cppunit/TestCaller.h: + * include/cppunit/TestFailure.h: + * include/cppunit/TestFixture.h: + * include/cppunit/TestListener.h: + * include/cppunit/TestResult.h: + * include/cppunit/TestResultCollector.h: + * include/cppunit/TestSucessListener.h: + * include/cppunit/TestSuite.h: + * include/cppunit/TextTestProgressListener.h: + * include/cppunit/TextTestRunner.h: + * include/cppunit/XmlOutputter.h: + * include/cppunit/extensions/AutoRegisterSuite.h: + * include/cppunit/extensions/HelperMacros.h: + * include/cppunit/extensions/TestFactoryRegistry.h: + * include/cppunit/extensions/TestSuiteBuilder.h: + * include/cppunit/extensions/TestSuiteFactory.h: doc update. organization + in groups. + + * examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp: + * examples/msvc6/HostApp/HostApp.cpp: updated to use + CppUnit::MfcUi::TestRunner. + + * examples/cppunittest/CppUnitTestMain.cpp: updated to use + CppUnit::TextUi::TestRunner. + +2002-03-27 Baptiste Lepilleur <gaiacrtn@free.fr> [686e4865001cb14c36e8e3e81fc7c57786ff0542] + + include/cppunitui/qt/TestRunner.h: doc update. + + +2002-03-27 Baptiste Lepilleur <gaiacrtn@free.fr> [1858c0b90eeee745b3d8f1e2c52d4614c4307ddc] + + Include/msvc/testrunner/TestRunner. + + include/msvc/testrunner/TestRunner.h: updated doc. reindented. + + * include/cppunit/Asserter.h: + * include/cppunit/Asserter.cpp: + * include/cppunit/TestResultCollector.h: + * include/cppunit/TestResult.h: + * include/cppunit/SynchronizedObject.h: + * include/cppunit/extensions/TestCaller.h: doc update. + +2002-03-27 Baptiste Lepilleur <gaiacrtn@free.fr> [8f5672c150b457d3d4709256797692bdf0c6b920] + + No message + + +2002-03-27 Baptiste Lepilleur <gaiacrtn@free.fr> [41e210a888ae68e1d908e60d903a65672f068b14] + + Makefile. + + makefile.am: added src/CppUnitLibraries.dsw, new contribution, and + src/qttestrunner. + + * TODO: updated (doc). + + * contrib/msvc/AddingUnitTestMethod.dsm: added, submitted by + bloodchen@hotmail.com. + + * constrib/msvc/readme.txt: updated. + + * include/cppunit/TestAsserter.h: + * include/cppunit/SourceLine.h: updated doc. + + * include/cppunit/TestCaller.h: reindented. updated doc. + + * include/cppunit/extensions/HelperMacros.h: relaxed constraint on fixture. + Fixture base class may be TestFixture instead of TestCase. + + * include/cppunit/TestCase.h: + * src/cppunit/TestCase.h: TestCase inherits TestFixture for setUp() and + tearDown() definition. Moved documentation to TestFixture. + + * include/cppunit/TestFixture.h: updated documentation. + + * include/cppunit/TestRegistry.h: + * src/cppunit/TestRegistry.cpp: Removed. Replaced by TestFactoryRegistry. + + * include/cppunit/TextTestRunner.h: + * src/cppunit/TextTestRunner.cpp: made printing progress using a + TextTestProgressListener optional. + + * examples\cppunittest\ExceptionTest.h: + * examples\cppunittest\HelperMacrosTest.h: + * examples\cppunittest\HelperMacrosTest.cpp: + * examples\cppunittest\NotEqualException.h: + * examples\cppunittest\OrthodoxTest.h: + * examples\cppunittest\RepeatedTest.h: + * examples\cppunittest\TestAssertTest.h: + * examples\cppunittest\TestCallerTest.h: + * examples\cppunittest\TestDecoratorTest.h: + * examples\cppunittest\TestFailureTest.h: + * examples\cppunittest\TestResultCollectorTest.h: + * examples\cppunittest\TestResultTest.h: + * examples\cppunittest\TestSetUpTest.h: + * examples\cppunittest\TestSuiteTest.h: + * examples\cppunittest\XmlOutputterTest.h: + * examples\cppunittest\XmlOutputterTest.cpp: + * examples\cppunittest\XmlUniformizerTest.h: + * examples\cppunittest\XmlUniformizerTest.cpp: changed base class for fixture + from TestCase to TestFixture. + + * examples\hierarchy\BoardGameTest.h: + * examples\hierarchy\ChessTest.h: + * examples\hierarchy\main.cpp: updated to use HelperMacros for correct + fixture instantiation (the ChessBoard::testReset test case was using + BoardGame fixture instance instead of ChessBoard). + +2002-03-27 Baptiste Lepilleur <gaiacrtn@free.fr> [fba5df08cb90d511e536f53d0aea57b547e2b6ef] + + No message + + +2002-03-26 Baptiste Lepilleur <gaiacrtn@free.fr> [30ca8af7d4ab25b95e5834cda28b5c6497dc37c0] + + configure.in: bumped version to 1.7.9 + + +2002-03-26 Baptiste Lepilleur <gaiacrtn@free.fr> [95290f6db0d17b3bb445e4fe4da4d2ba0307937c] + + src/msvc6/testpluginrunner/TestPlugInRunner.dsp: fixed release configuration. + + +2002-03-25 Baptiste Lepilleur <gaiacrtn@free.fr> [103624a354426dd660365e6e4a54e8ffffa9a3c9] + + Include/cppunit/makefile. + + include/cppunit/makefile.am: removed TestRegistry.h + + * include/cppunit/TestRegistry.h: removed. Obsolete, replaced by + TestFactoryRegistry. + + * src/cppunit/makefile.am: removed TestRegistry.cpp. Added cppunit_dll.dsp. + + * include/cppunit/CompilerOutputter.h: + * include/cppunit/NotEqualException.h: + * include/cppunit/SynchronizedObject.h: + * include/cppunit/TestFixture.h: + * include/cppunit/TestListener.h: + * include/cppunit/TestResult.h: + * include/cppunit/TestSucessListener.h: + * include/cppunit/TextOutputter.h: + * include/cppunit/TextTestProgressListener.h: + * include/cppunit/TextTestResult.h: + * include/cppunit/XmlOutputter.h: + * include/cppunit/extensions/TestFactory.h: + * include/cppunit/extensions/TestFactoryRegistry.h: + * include/cppunit/extensions/TestSuiteBuilder.h: + * include/cppunit/extensions/TestSuiteFactory.h: minor doc update. + + * include/cppunit/TestFixture.h: added DLL export. + + * include/cppunit/msvc6/TestPlugInInterface.h: updated doc. Added automatic + exportation of TestPlugIn publishing function. + + * src/cppunit/TestCase.cpp: + * include/cppunit/TestCase.h: inherits setUp() and tearDown() from + class TestFixture. + +2002-03-25 Baptiste Lepilleur <gaiacrtn@free.fr> [1670f83c25440fbf021da923b63f24d724a3d0f7] + + Include/cppunit/makefile. + + include/cppunit/makefile.am: removed TestRegistry.h + + * include/cppunit/TestRegistry.h: removed. Obsolete, replaced by + TestFactoryRegistry. + + * src/cppunit/makefile.am: removed TestRegistry.cpp. Added cppunit_dll.dsp. + + * include/cppunit/CompilerOutputter.h: + * include/cppunit/NotEqualException.h: + * include/cppunit/SynchronizedObject.h: + * include/cppunit/TestFixture.h: + * include/cppunit/TestListener.h: + * include/cppunit/TestResult.h: + * include/cppunit/TestSucessListener.h: + * include/cppunit/TextOutputter.h: + * include/cppunit/TextTestProgressListener.h: + * include/cppunit/TextTestResult.h: + * include/cppunit/XmlOutputter.h: + * include/cppunit/extensions/TestFactory.h: + * include/cppunit/extensions/TestFactoryRegistry.h: + * include/cppunit/extensions/TestSuiteBuilder.h: + * include/cppunit/extensions/TestSuiteFactory.h: minor doc update. + + * include/cppunit/TestFixture.h: added DLL export. + + * include/cppunit/msvc6/TestPlugInInterface.h: updated doc. Added automatic + exportation of TestPlugIn publishing function. + + * src/cppunit/TestCase.cpp: + * include/cppunit/TestCase.h: inherits setUp() and tearDown() from + class TestFixture. + +2002-03-25 Baptiste Lepilleur <gaiacrtn@free.fr> [38e67ef2e0084b295fc666df4f71bdeb08d87740] + + configure.in: bumped version to 1.7.7 + + +2002-03-25 Baptiste Lepilleur <gaiacrtn@free.fr> [7bc4f88e8d3483e0493738f1e16adc34e8995603] + + No message + + +2002-03-25 Baptiste Lepilleur <gaiacrtn@free.fr> [731a2b8cb26678fa7417110e281b90a021285c43] + + Include/cppunit/config-msvc6. + + include/cppunit/config-msvc6.h: + * include/cppunit/Portability.h + * include/cppunit/extensions/TestFactoryRegistry.h + * include/cppunit/TestResult.h + * include/cppunit/TestResultCollector.h + * include/cppunit/TestSuite.h + * include/cppunit/TextTestRunner.h + * include/cppunit/XmlOutputter.h: removed warning when compiling CppUnit as DLL. + + * src/cppunit/DllMain.cpp: added some defines to speed up compilation a bit. + +2002-03-25 Baptiste Lepilleur <gaiacrtn@free.fr> [f9646c3ed806a3d522f3b1e2950488e0c4c87a4a] + + INSTALL-WIN32. + + INSTALL-WIN32.txt: updated for MFC Unicode TestRunner. + + * src/msvc6/testrunner/TestRunner.dsp: added Unicode configurations. + + * src/msvc6/testrunner/ListCtrlSetter.cpp: + * src/msvc6/testrunner/ListCtrlSetter.h: replaced usage of std::string by + CString for easier ansi/unicode switch. + + * src/msvc6/testrunner/MsDevCallerListCtrl.cpp: + * src/msvc6/testrunner/TestRunnerDlg.cpp: + * src/msvc6/testrunner/TestRunnerModel.cpp: + * src/msvc6/testrunner/TestRunnerModel.h: + * src/msvc6/testrunner/TreeHierarchyDlg.cpp: made changes to compile with + either ANSI and UNICODE support. + + * examples/msvc6/HostApp/HostApp.cpp: + * examples/msvc6/HostApp/HostApp.h: + * examples/msvc6/HostApp/HostAppDoc.cpp: + * examples/msvc6/HostApp/HostAppDoc.h: moved TestRunner execution to + HostApp::RunUnitTests() and removed the MainFrame application window. + + * examples/msvc6/HostApp/HostApp.dsp: added Unicode configurations. + +2002-03-24 Baptiste Lepilleur <gaiacrtn@free.fr> [c37e0491c761f8b8499163bf7e748ea1afcf9203] + + INSTALL-WIN32. + + INSTALL-WIN32.txt: added some info to build cppunit as a DLL. + + * include/cppunit/config-msvc6.h: added definition of macro CPPUNIT_API when + building or linking DLL. Defined CPPUNIT_BUILD_DLL when building, and + CPPUNIT_DLL when linking. + + * include/cppunit/Portability.h: added empty definition of macro CPPUNIT_API + when not building or using CppUnit as a DLL. When any of those symbol is defined, + the symbol CPPUNIT_NEED_DLL_DECL is set to 1. + + * include/cppunit/extensions/RepeatedTest.h: + * include/cppunit/extensions/TestDecorator.h: + * include/cppunit/extensions/TestSetUp.h: + * include/cppunit/TestCaller.h + * include/cppunit/extensions/TestFactory.h + * include/cppunit/extensions/TestFactoryRegistry.h + * include/cppunit/extensions/TypeInfoHelper.h + * include/cppunit/Asserter.h + * include/cppunit/Exception.h + * include/cppunit/NotEqualException.h + * include/cppunit/SourceLine.h + * include/cppunit/SynchronizedObject.h + * include/cppunit/Test.h + * include/cppunit/TestAssert.h + * include/cppunit/TestCase.h + * include/cppunit/TestFailure.h + * include/cppunit/TestListener.h + * include/cppunit/TestResult.h + * include/cppunit/TestSuite.h + * include/cppunit/CompilerOutputter.h + * include/cppunit/Outputter.h + * include/cppunit/TestResultCollector.h + * include/cppunit/TestSuccessListener.h + * include/cppunit/TextOutputter.h + * include/cppunit/TextTestProgressListener.h + * include/cppunit/TextTestResult.h + * include/cppunit/TextTestRunner.h + * include/cppunit/XmlOutputter.h: added CPPUNIT_API for DLL export. + + * include/cppunit/TestSuite.h: + * src/cppunit/TestSuite.cpp: reindented + + * include/cppunit/extensions/TestSetUp.h: + * src/cppunit/TestSetUp.cpp: added .cpp. extracted inline method and moved them + to cpp file. + +2002-03-06 Baptiste Lepilleur <gaiacrtn@free.fr> [e13f6632c91fdd1a866800392f4fb12c238d14ba] + + src/cppunit/TextTestProgressListener.cpp: flush the stream after each progess step. + + +2002-03-04 Malcolm Isaacs <malcolmisaacs@sourceforge.net> [81db35e7cb09048b1880a0e9d85ad3a1cd748d72] + + Added minimize and maximize boxes to the TestRunner dialog. + + +2002-03-03 Baptiste Lepilleur <gaiacrtn@free.fr> [f4ed752f71b757b74593987075a121f1b557de81] + + configure.in: updated version number to 1.7.4 + + +2002-03-03 Baptiste Lepilleur <gaiacrtn@free.fr> [1693d1af80d06675125d4ccb46ee145c017fdebb] + + Include/cppunit/makefile. + + include/cppunit/makefile.am: + * src/cppunit/makefile.am: added missing SynchronizedObject and TextOutputter.h. + + * generated 1.7.3 tar ball. + +2002-03-01 Baptiste Lepilleur <gaiacrtn@free.fr> [995dd0a5786e1c5d3a0a18d3107cded17cf32089] + + Inclued/cppunit/XmlOutputter. + + inclued/cppunit/XmlOutputter.h: + * inclued/cppunit/XmlOutputter.cpp: added optional parameter to constructor + to specify the encoding. + + * configure.in: updated version number to 1.7.3 + +2002-02-28 Baptiste Lepilleur <gaiacrtn@free.fr> [2c7af6bda8b090a31dd39e3ca6e5c55ed7758fb9] + + NEW: updated and restructured. + + NEW: updated and restructured. + + * include/cppunit/CompilerOutputter.h: + * src/cppunit/CompilerOutputter.cpp: + updated against TestResultChange. Changed TestResult to TestResultCollector. + + * include/cppunit/extensions/HelperMacros.h: minor documentation fix. + + * include/cppunit/Outputter.h: added. Abstract base class for all Outputter. + + * include/cppunit/Portability.h: made the fix on OStringStream suggested by + Bob Summerwill to remove level 4 warning with VC++. + + * include/cppunit/TestAssert.h: added macro CPPUNIT_ASSERT_EQUAL_MESSAGE. + + * src/cppunit/TestFailure.cpp: + * include/cppunit/TestFailure.h: added method clone() to duplicate a failure. Made + all method virtual. + + * include/cppunit/TestListener.h: changed signature of addFailure() to + addFailure( const TestFailure &failure ). Failure is now only a temporary object. + + * include/cppunit/Outputter.h: added. Abstract base class for all outputter. Used + by TextTestRunner. + + * include/cppunit/SynchronizedObject.h: + * src/cppunit/SynchronizedObject.cpp: added. Class extracted from TestResult. + Base class for objects that can be accessed from different threads. + + * include/cppunit/TestResult.h: TestFailure.h is no longer included. + + * include/cppunit/TestResult.h: + * src/cppunit/TestResult.cpp: extracted all methods related to keeping track + of the result to the new TestResultCollector class which is a TestListener. + + * include/cppunit/TestResultCollector.h: + * src/cppunit/TestResultCollector.cpp: added. TestListener which kept track + of the result of the test run. All failure/error, and tests are tracked. + + * include/cppunit/TestSucessListener.h: + * src/cppunit/TestSucessListener.cpp: added. TestListener extracted from + TestResult. Is responsible for wasSucessful(). + + * include/cppunit/TestCase.h: + * src/cppunit/TestCase.cpp: reindented. + + * include/cppunit/TextOutputter.h: + * src/cppunit/TextOutputter.cpp: added. Copied from the deprecated + TextTestResult and modified to act as an Ouputter. + + * include/cppunit/TextTestProgressListener.h: + * src/cppunit/TextTestProgressListener.cpp: Copied from the deprecated + TextTestResult and modified to print the dot while the test are running. + + * include/cppunit/TextTestResult.h: + * src/cppunit/TextTestResult.cpp: updated against TestResult change. + No compatiblity break. Deprecated. + + * include/cppunit/TextTestRunner.h: + * src/cppunit/TextTestRunner.cpp: updated to work with the new TestResult. + Use TextTestProgressListener and TextOutputter instead of TextTestResult. + Any outputter with interface Outputter can be used to print the test result + (CompilerOutputter, XmlOutputter, TextOutputter...) + + * include/cppunit/XmlOutputter.h: + * src/cppunit/XmlOutputter.cpp: updated against TestResultChange. + Changed TestResult to TestResultCollector. + + * src/msvc6/TestRunnerDlg.h: + * src/msvc6/TestRunnerDlg.cpp: fixed the 'fullrowselect' feature of the list view. + The dialog is a TestListener itself, it no longer use the GUITestResult class. + + * src/msvc6/TestRunner.rc: moved the "autorun test button" in such a way that it + did not overlap the progress bar anymore. + + * src/msvc6/MfcSynchronizationObject.h: added. Generic SynchronizedObject + lock for MFC. + + * src/msvc6/GUITestResult.h : + * src/msvc6/GUITestResult.cpp : removed. + + * src/qttestrunner/TestRunnerModel.h: + * src/qttestrunner/TestRunnerModel.cpp: changed addFailure() signature to reflect + change on TestListener. + + * examples/cppunittest/CppUnitTestMain.cpp: updated to use the new Outputter + abstraction and TextTestRunner facilities. + + * examples/cppunittest/FailingTestCase.h: + * examples/cppunittest/FailingTestCase.cpp: removed. Replaced by MockTestCase. + + * examples/cppunittest/FailingTestCase.h: + * examples/cppunittest/FailingTestCase.h: + + * examples/cppunittest/HelperMacrosTest.h: + * examples/cppunittest/HelperMacrosTest.cpp: Updated against TestResult change. + Use MockTestListener instead of TestResult to check for sucess or failure. + + * examples/cppunittest/MockTestListener.h: + * examples/cppunittest/MockTestListener.cpp: the class now behave like a mock + object. + + * examples/cppunittest/MockTestCase.h: + * examples/cppunittest/MockTestCase.cpp: added. Mock TestCase object. + + * examples/cppunittest/OrthodoxTest.h: + * examples/cppunittest/OrthodoxTest.cpp: Updated against TestResult change. + Use MockTestListener instead of TestResult to check for sucess or failure. + + * examples/cppunittest/SynchronizedTestResult.h: Updated against TestResult + change. + + * examples/cppunittest/TestCallerTest.h: + * examples/cppunittest/TestCallerTest.cpp: Updated against TestResult change. + Use MockTestListener instead of TestResult. + + * examples/cppunittest/TestCaseTest.h: + * examples/cppunittest/TestCaseTest.cpp: Updated against TestResult change. + Use MockTestListener and MockTestCase instead of FailingTestCase and TestResult. + + * examples/cppunittest/TestDecoratorTest.h: + * examples/cppunittest/TestDecoratorTest.cpp: Updated against TestResult change. + Use MockTestCase instead of FailingTestCase. + + * examples/cppunittest/TestListenerTest.h: + * examples/cppunittest/TestListenerTest.cpp: removed. Those unit tests have been + rewrote and moved to TestResultTest. + + * examples/cppunittest/TestResultTest.h: + * examples/cppunittest/TestResultTest.cpp: Updated to test the new interface. + Tests from TestListenerTest have been moved here. + + * examples/cppunittest/TestResultCollectorTest.h: + * examples/cppunittest/TestResultCollectorTest.cpp: added. Tests for the class + that been extracted from TestResult. + + * examples/cppunittest/TestSetUpTest.h: + * examples/cppunittest/TestSetUpTest.cpp: renamed SetUp inner class to MockSetUp. + Changed interface to be more akin to a Mock object. + + * examples/cppunittest/TestSuiteTest.h: + * examples/cppunittest/TestSuiteTest.cpp: Updated against TestResult change, + and rewrote to use MockTestCase instead of FailingTestCase. + + * examples/cppunittest/XmlOutputterTest.h: + * examples/cppunittest/XmlOutputterTest.cpp: Updated against TestResult change. + Added some utility methods to make the update easier. + +2001-10-29 Steve M. Robbins <smr@sumost.ca> [36905b4f9faf4075abfa1c695c443185650c47a2] + + Add note about cygwin build. + + +2001-10-24 Baptiste Lepilleur <gaiacrtn@free.fr> [a0f9257fc47db541d7a1daee6153de0af30d2cb9] + + Examples/msvc6/CppUnitTestApp/CppUnitTestApp. + + examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp: + * examples/msvc6/HostApp/HostApp.dsp: use custom file build instead + of post-build/pre-link step to copy the TestRunner DLL to the + Release/Debug directory. + + * src/msvc6/ProgressBar.cpp: + * src/msvc6/ProgressBar.h: + * src/msvc6/TestRunner.rc: + * src/msvc6/TestRunnerDlg.cpp: + * src/msvc6/TestRunnerDlg.h: + * src/msvc6/testRunner.dsp: + * src/msvc6/TestRunnerModel.cpp: + * src/msvc6/TestRunnerModel.h: included Gigi Sayfan (gigi@morphink.com) + patch. The dialog can now be resized, and list view columns and dialog + sizes are saved. + + * src/msvc6/ProgressBar.cpp: + * src/msvc6/ProgressBar.h: Minor refactoring. + + * THANKS: added Gigi Sayfan to the list. + +2001-10-21 Steve M. Robbins <smr@sumost.ca> [7c940841ddb85a4be6aec81acfa88fb6abc314bf] + + *** empty log message *** + + +2001-10-21 Steve M. Robbins <smr@sumost.ca> [edaecf3ac6366342c827a1690d04568bed86c9aa] + + Commit of 1.7.1 release. + + +2001-10-20 Steve M. Robbins <smr@sumost.ca> [704db48dedf1e413faa0dde775c3dcc5901b2918] + + *** empty log message *** + + +2001-10-19 Baptiste Lepilleur <gaiacrtn@free.fr> [da94615a45b2e4e2a42d35e2439a7bf371a706d7] + + Include/cppunit/Exception. + + include/cppunit/Exception.h: + * src/cppunit/Exception.cpp: what(), added back the throw() qualifier. + +2001-10-14 Baptiste Lepilleur <gaiacrtn@free.fr> [e27118dd97d6125d3869b4972eff8da5996a768c] + + Include/cppunitui/ + + include/cppunitui/* : added, Qt TestRunner. + + * examples/qt/* : added, example showing the use of Qt TestRunner. + + * src/qttestrunner : added, source of the Qt TestRunner DLL. + +2001-10-08 Steve M. Robbins <smr@sumost.ca> [ff0517a7f94155d1c349c1f241b5f2bf5ba57cd7] + + Let source catch up with previous header change. + + +2001-10-07 Baptiste Lepilleur <gaiacrtn@free.fr> [150339335e3c5538c1e496ae01babf148bd29ec5] + + Include/cppunit/CompilerTestResultOutputter. + + include/cppunit/CompilerTestResultOutputter.h : + renamed CompilerOutputter.h + + * src/cppunit/CompilerTestResultOutputter.cpp : + renamed CompilerOutputter.cpp + + * include/cppunit/CompilerTestResultOutputter.h : + * src/cppunit/CompilerTestResultOutputter.cpp : ajust max line length + for wrapping. Added static factory method defaultOutputter(). Print + the number of test runs on success. + + * include/cppunit/CompilerTestResultOutputter.h : renamed + CompilerOutputter.h. + + * src/cppunit/CompilerTestResultOutputter.cpp : renamed + CompilerOutputter.cpp. + + * examples/cppunittest/CppUnitTestMain.cpp : use factory method + CompilerTestResultOutputter::defaultOutputter(). + + * src/msvc6/DSPlugIn/DSPlugIn.dsp : removed COM registration in + post-build step. IT is automatically done by VC++ when the add-in is + added. Caused build to failed if the add-in was used in VC++. + + * NEWS : updated. + + * src/cppunit/TestAssert.cpp : modified deprecated assert + implementations to use Asserter. + + * examples/cppunittest/XmlTestResultOutputterTest.h : + renamed XmlOutputterTest.h. + + * examples/cppunittest/XmlTestResultOutputterTest.cpp : + renamed XmlOutputterTest.cpp. + + * NEWS : + * examples/cppunittest/CppUnitTestMain.cpp : + * examples/cppunittest/CppUnitTestMain.dsp : + * examples/cppunittest/Makefile.am : + * examples/cppunittest/XmlTestResultOutputterTest.h : + * examples/cppunittest/XmlTestResultOutputterTest.cpp : + * examples/msvc6/CppUniTestApp/CppUnitTestApp.dsp + * include/cppunit/CompilerOutputter.h : + * include/cppunit/Makefile.am : + * include/cppunit/XmlTestResultOutputter.h : + * src/cppunit/CompilerOutputter.cpp : + * src/cppunit/cppunit.dsp : + * src/cppunit/Makefile.am : + * src/cppunit/XmlTestResultOutputter.cpp : change due to renaming + CompilerTestResultOutputter to CompilerOutputter, + XmlTestResultOutputter to XmlOuputter, XmlTestResultOutputterTest + to XmlOutputterTest. + +2001-10-06 Steve M. Robbins <smr@sumost.ca> [4410db53e88dc5aca9f86abaf9dffccbd5f94471] + + Synchronize with the 1.6.1-1 Debian release. + + +2001-10-06 Baptiste Lepilleur <gaiacrtn@free.fr> [8ac4da778cb226fb00b413a047ad3480f4d2ae5a] + + Include/cppunit/CompilerTestResultOutputter. + + include/cppunit/CompilerTestResultOutputter.h : + * src/cppunit/CompilerTestResultOutputter.cpp : added. Output result + in a compiler compatible format. + + * src/cppunit/CppUnit.dsp : + * include/cppunit/MakeFile.am : + * src/cppunit/MakeFile.am : added CompilerTestResultOutputter.cpp + and CompilerTestResultOutputter.h. + + * examples/cppunittest/CppUnitTestMain.cpp : if -selftest is specified + on the command line, no standard test result are printed, but compiler + compatible result at printed. + + * examples/cppunittest/CppUnitTestMain.dsp : added post-build step to + run the test suite with -selftest. + + * NEWS : updated. + + * src/cppunit/TextTestRunner.cpp : skip a line after printing + progress. + +2001-10-06 Baptiste Lepilleur <gaiacrtn@free.fr> [4c6c7e6474bef34c4bed0d3eb9889012319c938f] + + Examples/cppunittest/CppUnitTestMain. + + examples/cppunittest/CppUnitTestMain.cpp : application returns + 0 is test suite run sucessfuly, 1 otherwise. + + * src/cppunit/Exception.cpp : bug fix, operator =() with VC++. + Removed call to std::exception::operator =() which is bugged + on VC++. + + * doc/FAQ : added a note explaining why the test + ExceptionTest.testAssignment used to fail. + + * NEWS : updated and detailed. + + * include/cppunit/TestResult.h : + * src/cppunit/TestResult.cpp : added reset(). + + * include/cppunit/TextTestRunner.h : + * src/cppunit/TextTestRunner.cpp : Constructor take an optional + TextTestRestult. The TextTestResult remain alive as long as + the runner. Added result() to retreive the result. Printing the + result is now optinal (enabled by default). + +2001-10-05 Baptiste Lepilleur <gaiacrtn@free.fr> [fbd454f554f13680fe62b36fb7a5829f6dc0c396] + + Include/cppunit/Asserter. + + include/cppunit/Asserter.h : + * src/cppunit/Asserter.cpp : added. Helper to create assertion macros. + + * src/cppunit/cppunit.dsp : + * src/cppunit/Makefile.am : + * include/cppunit/Makefile.am : added Asserter.h and Asserter.cpp. + + * include/cppunit/Exception.h : + * src/cppunit/Exception.cpp : added constructor that take a + SourceLine argument. Deprecated static constant and old constructor. + Fixed some constness issues. + + * examples/cppunittest/ExceptionTest.cpp : Refactored. + + * NEWS : partially updated (need to be more detailed) + + * include/cppunit/NotEqualException.h : + * src/cppunit/NotEqualException.cpp : added constructor that take a + SourceLine argument. Deprecated old constructor. Added a third element + to compose message. + + * examples/cppunittest/NotEqualExceptionTest.cpp : moved to "Core" + suite. Added test for SourceLine() and additionalMessage(). + Refactored. + + * include/cppunit/SourceLine.h : + * src/cppunit/SourceLine.cpp : added. Result of applying + IntroduceParameterObject refactoring on filename & line number... + + * include/cppunit/TestAssert.h : + * src/cppunit/TestAssert.cpp : deprecated old assert functions. + added functions assertEquals() and assertDoubleEquals() which use + SourceLine. + + * src/cppunit/TestCase.cpp : Modified for SourceLine. + + * include/cppunit/TestFailure.h : + * src/cppunit/TestFailure.cpp : added failedTestName(), and + sourceLine(). + + * src/msvc6/testrunner/TestRunnerDlg.cpp : modified to use SourceLine. + + * include/cppunit/TextTestResult.h : + * src/cppunit/TextTestResult.cpp : corrected include order and + switched to angled brackets. Refactored. Don't print failure location + if not available. Not equal failure dump additional message if + available. + + * src/cppunit/TextTestRunner.cpp : run() now returns a boolean to + indicate if the run was sucessful. + + * src/cppunit/XmlTestResultOutputter.cpp : replaced itoa() with + OStringStream. Refactored. + + * examples/cppunittest/XmlUniformiser.h : + * examples/cppunittest/XmlUniformiser.cpp : + CPPUNITTEST_ASSERT_XML_EQUAL capture failure location. Refactored + checkXmlEqual(). + + * examples/cppunittest/XmlUniformiserTest.h : + * examples/cppunittest/XmlUniformiserTest.cpp : added test for + CPPUNITTEST_ASSERT_XML_EQUAL. + + * include/cppunit/XmlTestResultOutputter.h : + * src/cppunit/XmlTestResultOutputter.cpp : updated to use SourceLine. + +2001-10-05 Baptiste Lepilleur <gaiacrtn@free.fr> [6a1755ef0e36aeb1ac2df0a46e5dafe08a4699ee] + + NEWS : updated. + + NEWS : updated. + + * include/cppunit/Exception.h : added include Portability.h. + + * include/cppunit/TestResult.* : changed TestFailures to a deque. + added tests(). + + * examples/cppunittest/CppUnitTest.dsp : + * examples/cppunittest/MakeFile.am : + * examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp : Added + XmlTestResultOutputterTest.*, XmlUniformiser.*, XmlUniformiserTest.*, + UnitTestToolSuite.h, OutputSuite.h. + + * examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp : revised project + folders structure. Added missing NoteEqualExceptionTest.*. + + * examples/cppunittest/CppUnitTestSuite.cpp : added 'Output' and + 'UnitTestTool' suites. + + * src/cppunit/cppunit.dsp: removed estring.h. Revised project folders + structure. Removed TestRegistry.*. Added TestSetUp.h, + XmlTestResultOutputter.*. + + * src/cppunit/MakeFile.am: added XmlTestResultOutputter.*. + + * src/testrunner/TestRunnerDlg.cpp: removed disabled code. + +2001-10-03 Baptiste Lepilleur <gaiacrtn@free.fr> [c2ac2ac3bcfb30cb8ae4e95e531f1b630b8dd80e] + + Include/cppunit/TestFailure. + + include/cppunit/TestFailure.cpp : + * include/cppunit/TestFailure.h : fixed some constness issues. Added + argument to indicate the type of failure to constructor. Added + isError(). + + * include/cppunit/TestListener.h : removed addError(). addFailure() + now take a TestFailure as argument. + + * include/cppunit/TestResult.h : + * include/cppunit/TestResult.cpp : removed errors(). Refactored. Fixed + some constness issues. Added typedef TestFailures for vector returned + by failures(). failures() returns a const reference on the list of + failure. added testFailuresTotal(). Constructor can take an optional + synchronization object. + + * include/cppunit/TextTestResult.h : + * include/cppunit/TextTestResult.cpp : removed printErrors(). + Refactored. Updated to suit new TestResult, errors and failures are + reported in the same list. + + * examples/cppunittest/TestFailureTest.cpp : + * examples/cppunittest/TestFailureTest.h : modified to use the new + TestFailure constructor. Added one test. + + * examples/cppunittest/TestListenerTest.cpp: removed addError(). + Refactored to suit new TestListener. + + * examples/cppunittest/TestResultTest.h : + * examples/cppunittest/TestResultTest.cpp : modified to suit the + new TestResult. + +2001-10-02 Baptiste Lepilleur <gaiacrtn@free.fr> [ddfca2261132a879f631cbaaf22e82feaa2460ef] + + Include/cppunit/extensions/TestFactoryRegistry. + + include/cppunit/extensions/TestFactoryRegistry.h + * src/cppunit/TestFactoryRegistry.cpp : fixed memory leaks that + occured when a TestFactoryRegistry was registered into another + TestFactoryRegistry. + + * include/cppunit/extensions/AutoRegisterSuite.h : updated doc. + + * include/cppunit/extensions/HelperMacros.h : added macro + CPPUNIT_TEST_SUITE_NAMED_REGISTRATION to register a suite into + a named suite. Updated doc. + + * examples/cppunittest/CoreSuite.h: + * examples/cppunittest/ExtensionSuite.h: + * examples/cppunittest/HelperSuite.h: added, declaration of suite for + use with CPPUNIT_TEST_SUITE_NAMED_REGISTRATION. + + * examples/cppunittest/makefile.am : added HelperSuite.h, CoreSuite.h, + ExtensionSuite.h, CppUnitTestSuite.h and CppUnitTestSuite.cpp. + + * examples/cppunittest/CppUnitTestSuite.*: added. + + * examples/cppunittest/ExceptionTest.cpp: + * examples/cppunittest/TestAssertTest.cpp: + * examples/cppunittest/TestCaseTest.cpp: + * examples/cppunittest/TestFailureTest.cpp: + * examples/cppunittest/TestListenerTest.cpp: + * examples/cppunittest/TestResultTest.cpp: + * examples/cppunittest/TestSuiteTest.cpp: moved into named suite + "Core" using CPPUNIT_TEST_SUITE_NAMED_REGISTRATION. + + * examples/cppunittest/OrthodoxTest.cpp: + * examples/cppunittest/RepeatedTest.cpp: + * examples/cppunittest/TestDecoratorTest.cpp: + * examples/cppunittest/TestSetUpTest.cpp: moved into named suite + "Extension" using CPPUNIT_TEST_SUITE_NAMED_REGISTRATION. + + * examples/cppunittest/HelperMacrosTest.cpp: + * examples/cppunittest/TestCallerTest.cpp: moved into named suite + "Helper" using CPPUNIT_TEST_SUITE_NAMED_REGISTRATION. + + * examples/cppunittest/CppUnitTest.dsp : + * examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp : added + Makefile.am, HelperSuite.h, CoreSuite.h, ExtensionSuite.h, + CppUnitTestSuite.h and CppUnitTestSuite.cpp. + +2001-10-02 Baptiste Lepilleur <gaiacrtn@free.fr> [9e5ff0f6a865524e5784450f26a1c74807dc0c80] + + NEWS : updated. + + NEWS : updated. + + * doc/other_documentation.dox : added all the authors to the list of + authors. + + * examples/cppunittest/HelperMacrosTest.*: added unit tests for + CPPUNIT_TEST_FAIL & CPPUNIT_TEST_EXCEPTION. + + * examples/cppunittest/TestAssertTest.*: added unit tests for + CPPUNIT_FAIL. Corrected spelling error. Relaxed constraint on message + produced by CPPUNIT_ASSERT_MESSAGE. Refactored some tests. + + * include/cppunit/extensions/HelperMacros.h : added macro + CPPUNIT_TEST_EXCEPTION to create a test case for the specified method + that must throw an exception of the specified type. + + * include/cppunit/extensions/TestSuiteBuilder.h : made makeTestName() public. + Added addTestCallerForException() to add a test case expecting an exception of + the specified type to be caught. + + * include/cppunit/TestAssert.h : added macro CPPUNIT_FAIL as a + shortcut for CPPUNIT_ASSERT_MESSAGE( message, false ). + +2001-10-01 Steve M. Robbins <smr@sumost.ca> [0fe7e4fb21a7f2b096965dab4ad2ee19cc20522f] + + Start 1.7 unstable series. + + +2001-10-01 Steve M. Robbins <smr@sumost.ca> [a73c864a5aa99396916629f181ddc50fc6dfe9b3] + + *** empty log message *** + + +2001-10-01 Steve M. Robbins <smr@sumost.ca> [d2b307d7c8cd3cbf20008d67e6774014ab342e4b] + + *** empty log message *** + + +2001-10-01 Steve M. Robbins <smr@sumost.ca> [6050cef3e7b1ba6ba91eebaf3ee58537ad24a2dc] + + Note release. + + +2001-09-30 Steve M. Robbins <smr@sumost.ca> [09d71be5d99085e438f973dadd30f14cb3fb4575] + + Tweak the HTML docs. Link to FAQ. + + +2001-09-30 Baptiste Lepilleur <gaiacrtn@free.fr> [5438d7260f4dbcbdd8dc67ad1ec33d91dd13a3eb] + + Doc/FAQ: + + doc/FAQ: + * INSTALL-WIN32.txt: moved FAQ from install-WIN32 to that file. Added + a generic question to hint at the helper macros. + +2001-09-30 Steve M. Robbins <smr@sumost.ca> [32fff17f6f0ec18f0deba13fed5c261b8913fd66] + + Distribute contrib/msvc/*. Add const qualifier to countTestCases() and toString() of RepeatedTest. + + +2001-09-30 Baptiste Lepilleur <gaiacrtn@free.fr> [c4d97b4d586fdae21a02aff7a02605ffd487b188] + + Contrib/msvc/CppUnit. + + contrib/msvc/CppUnit.WWTpl: added, template for WorkSpace Whiz! to + create new classes and unit tests. + + * doc/FAQ: + * INSTALL-WIN32.txt: moved FAQ from install-WIN32 to that file. Added + a generic question to hint at the helper macros. + + * include/cppunit/extensions/HelperMacros.h: bug #464844, moved + declaration of ThisTestCaseFactory from CPPUNIT_TEST_SUITE_END to + CPPUNIT_TEST_SUITE where the Fixture class name is available from + the macro parameter. + +2001-09-30 Steve M. Robbins <smr@sumost.ca> [2478fb88dfc5c0e1673d094b4cbd3a7fdf21b95b] + + Documentation tweaks. Add config-mac.h + + +2001-09-29 Steve M. Robbins <smr@sumost.ca> [6bad8616c4007a6e2e994fd8d334395ebb397287] + + Update version to 1.6.1. Add notes on SourceForge release process for CppUnit. Tweak a few other docs. + + +2001-09-29 Baptiste Lepilleur <gaiacrtn@free.fr> [bef9647de57c10e9b3c2779e9eff21aebb05c3ec] + + Example/cppunittest/TestCaller. + + example/cppunittest/TestCaller.*: remove some memory leaks. + TestCaller exception catching features is now tested correctly. + Previous test tested nothing! + +2001-09-24 Steve M. Robbins <smr@sumost.ca> [53929c98380419c90d224ef610ff273f4e6abb3c] + + Final touch-ups for release 1.6.0. + + +2001-09-23 Baptiste Lepilleur <gaiacrtn@free.fr> [4738362b086adad7963a26abaf3ec8b052ef6374] + + Include/cppunit/TestAssert. + + include/cppunit/TestAssert.h : changed header order to remove warning on VC++ + + * include/cppunit/TestCaller.h : bugfix: threw 'new Exception' + instead of 'Exception'. + +2001-09-23 Steve M. Robbins <smr@sumost.ca> [8270594d083e6fb7cdcba52351e7febb546ac299] + + Polishing for 1.6.0 release. + + +2001-09-21 Baptiste Lepilleur <gaiacrtn@free.fr> [a48490973bbbc43541385116c1efa03657538e7e] + + Include/cppunit/TestFailure. + + include/cppunit/TestFailure.h : made destructor virtual. + + * INSTALL-WIN32.txt : added some more infos about DSPlugIn. + + * src/msvc6/DSPlugIn/DSPlugIn.rgs: added some registry data + that where missing to register the COM object. + + * src/msvc6/DSPlugIn/DSPlugIn.rc: updated some dll version info. + + * src/msvc6/DSPlugIn/DSPlugIn.dsp: fixed the custom build step to + register the DLL using regsvr32.exe. Added a post-build step to + copy the dll to the lib/ directory. This prevent a blocking + compilation error if the DLL is in use by VC++. + +2001-09-21 Steve M. Robbins <smr@sumost.ca> [9302880887234c54a47bc92ccb257150bf200d0a] + + Correct rule to change line endings for INSTALL-WIN32.txt. + + +2001-09-20 Steve M. Robbins <smr@sumost.ca> [285f746224792dedb3120604967dd5c2aee6608d] + + Improved strstream detection to use header <strstream>, if available. + + +2001-09-19 Baptiste Lepilleur <gaiacrtn@free.fr> [abe6da3554dd03f04485f2b61152e4dcfcb7a2e6] + + Examples/cppunittest/makefile. + + examples/cppunittest/makefile.am : added TestSetupTest.(cpp/h) + + * examples/examples.dsw: removed some unnecessary dependencies. + + * examples/msvc6/HostApp/HostApp.dsp: fixed release configuration + + * src/msvc6/DSPlugIn/DSPlugIn.dsp: fixed release configuration, and + disabled the custom build command that does not work. + + * include/cppunit/extensions/HelperMacros.h: reordered header to remove + some warning with VC++. + + * INSTALL-WIN32.txt : detailed what was in each project. Added a FAQ + about the failing test case in cppunittest. + +2001-09-19 Steve M. Robbins <smr@sumost.ca> [9b4c0b32358f07e5476179a661243178a1e7ddfb] + + *** empty log message *** + + +2001-09-19 Steve M. Robbins <smr@sumost.ca> [3c259836934797074354d7d8788f97df6e6034b2] + + Use iso date for snapshot. + + +2001-09-19 Steve M. Robbins <smr@sumost.ca> [47441a7bf52a6e824db428baf0ce45238e0f4793] + + Changes in response to bug reports. + + +2001-09-18 Baptiste Lepilleur <gaiacrtn@free.fr> [91ed0b41be469e1d27efeadb31350844eadcd21b] + + Examples/examples. + + examples/examples.dsw: + * examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsw: + * examples/msvc6/HostApp/HostApp.dsw: + * examples/msvc6/TestPlugIn/TestPlugIn.dsw: Added missing + project dependency. + + * src/msvc6/DSPlugIn/DSPlugIn.dsp: fixed *.tlb output directory. + + * include/msvc6/testrunner/TestPlugInInterface.h: does not define + NOMINMAX if already defined. + +2001-09-17 Baptiste Lepilleur <gaiacrtn@free.fr> [efc2b83ddd11864964936d1235327c5813cfed1e] + + Makefile. + + Makefile.am: Added INSTALL-WIN32.txt to EXTRA_DIST. + + * INSTALL-WIN32.txt: added, short documentation for CppUnit and VC++. + + * include/cppunit/extensions/HelperMacros.h: bug #448363, removed + an extraneous ';' at the end of CPPUNIT_TEST_SUITE_END macro. + + * examples/cppunittest/TestCallerTest.cpp: bug #448332, fixed + memory leaks. + + * src/msvc6/testrunner/TestRunnerDlg.h: + * src/msvc6/testpluginrunner/TestPlugInRunnerDlg.h: + * src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp: change to define + IDD to a dummy value when subclassing the dialog. + + * src/cppunit/cppunit.dsp: + * src/msvc6/testrunner/TestRunner.dsp: + * src/msvc6/testpluginrunner/TestPlugInRunner.dsp: + * examples/cppunitttest/CppUnitTestMain.dsp: + * examples/hierarchy.dsp: + * examples/msvc6/TestPlugIn/TestPlugIn.dsp: + * examples/msvc6/HostApp/HostApp.dsp: all configurations can be compiled. + + * src/msvc6/testpluginrunner/TestPlugInRunner.dsw: added dependency to + cppunit.dsp and TestRunner.dsp. + +2001-09-16 Steve M. Robbins <smr@sumost.ca> [4d8f4e24048feecd5d630bff4e6c6c1883ac2402] + + Revert TestFixture-related changes from 2001-07-15. + + +2001-09-16 Baptiste Lepilleur <gaiacrtn@free.fr> [4e18414e298bbf0855c99c0549a2883b9b614031] + + INSTALL-WIN32.txt: Added. + + +2001-09-14 Baptiste Lepilleur <gaiacrtn@free.fr> [4de811742dab8be4819ccb3b0492b56dff038693] + + Src/msvc6/testrunner/TestRunner. + + src/msvc6/testrunner/TestRunner.dsp: fixed release configuration. + + * src/msvc6/testrunner/TestRunner.dsw: added DSPlugIn.dsp. TestRunner + depends on DSPlugIn. + + * src/msvc6/testrunner/TestRunner.cpp: + * src/msvc6/testrunner/TestRunnerDlg.h: + * src/msvc6/testrunner/TestRunnerDlg.cpp: + * src/msvc6/testrunner/MsDevCallerListCtrl.cpp: + * src/msvc6/testrunner/MsDevCallerListCtrl.h: + * src/msvc6/DSPlugIn/*: integrated patch from + Patrick Berny (PPBerny@web.de). An add-ins for VC++. Double-cliking + a failed test in the TestRunner, VC++ will open the source file and + go to the failure location. + + * src/cppunit/Exception.cpp: + * include/cppunit/Exception.h: compile fix, call to overrided + operator = of parent class failed. Using typedef to the parent + class fix that. + + * src/cppunit/cppunit.dsp: added TestFixture.h + + * src/cppunit/TestFactoryRegistry.cpp: removed <utility> which isn't + needed any more. + + * include/cppunit/TestCase.h: + * include/cppunit/TestSuite.h: + * include/cppunit/extensions/TestFactoryRegistry.h: added + include <Portability.h> before any other includes to remove warning + with VC++. + + * include/cppunit/Portability.h: moved platform specific includes at + the beginning of the header. fixed CPPUNIT_HAVE_CPP_SOURCE_ANNOTATION + declaration. + + * include/cppunit/config-msvc6.h: removed pragma once (useless, should + be put in each header to have an effect). + +2001-08-07 Steve M. Robbins <smr@sumost.ca> [919cc774e43f62659ecfe5f85882b0073c4ea2d4] + + Polished description of libtool bug. + + +2001-08-07 Steve M. Robbins <smr@sumost.ca> [de0befb6d7ba3d1e6bbc67ca9c86d04412f2fb08] + + Fixes to allow building with SGI MIPSpro 7.30 compiler. The testsuite file examples/cppunittest/SubclassedTestCase.cpp causes the compiler to dump core, so that and HelperMacrosTest were not tested. The rest of the test suite passes. + + +2001-08-07 Steve M. Robbins <smr@sumost.ca> [e0dd3c214df341b058c2d43f32c6521688853000] + + Build changes. Distribute all m4 files. + + +2001-07-15 Steve M. Robbins <smr@sumost.ca> [c866084c8b86aa76c3565958fad8553c43bc3306] + + TextFixture introduced. First steps at using it. + + +2001-07-15 Steve M. Robbins <smr@sumost.ca> [08b4a5c444044db09dc5c668390e9f40663210ff] + + Added documentation. + + +2001-07-13 Steve M. Robbins <smr@sumost.ca> [8cdfc19f2213bf1de4aee4bc5e799af49b6608d0] + + Add tests for CPPUNIT_ASSERT_EQUAL. + + +2001-07-12 Steve M. Robbins <smr@sumost.ca> [c9e6d8ad1f9201030bbfeb27164cf748c96f21c6] + + Set version to 1.5.6 + + +2001-07-12 Steve M. Robbins <smr@sumost.ca> [c75b503d3829c574db58924d404e5176e1bcd992] + + Fixes for GCC 3.0 + + +2001-07-07 Steve M. Robbins <smr@sumost.ca> [fc812f34ff16b32c88617c81b3551475a5ece39e] + + Tighten up build process to ensure "make distcheck" works with CVS automake. + + +2001-07-07 Steve M. Robbins <smr@sumost.ca> [936762c3876279c3973e30fea5919b719eae5a3f] + + Removed last uses of estring. + + +2001-07-07 Steve M. Robbins <smr@sumost.ca> [b73b5ccc56b78cd3a47da81b8a78f9d5d03403b5] + + Add const qualifier to operator== methods. + + +2001-07-07 Steve M. Robbins <smr@sumost.ca> [1bcc316d35b6622eb249f4dd90f4ee983eac15f4] + + *** empty log message *** + + +2001-07-07 Steve M. Robbins <smr@sumost.ca> [46551b434973f37f7d5e0049fc451f61cb234244] + + Use strstream if stringstream unavailable. + + +2001-07-06 Steve M. Robbins <smr@sumost.ca> [e3233e2ff1486e66bb85f81a4ac24f2a9a846a5c] + + Add configure option to disable RTTI for class name. + + +2001-07-06 Steve M. Robbins <smr@sumost.ca> [da53c2c10d2e531e8779f6f3849ac73938b6f902] + + Build both shared and static libs by default. Update INSTALL. + + +2001-07-06 Steve M. Robbins <smr@sumost.ca> [a90452b2ef0c9366118ae1be78d798a0198ae363] + + Change from CPPUNIT_USE_TYPEINFO to CPPUNIT_USE_TYPEINFO_NAME + + +2001-07-05 Steve M. Robbins <smr@sumost.ca> [83766a55021bea4fa506ece7ad0be11c6dcff6f8] + + Fix configure and include bugs. + + +2001-06-27 Baptiste Lepilleur <gaiacrtn@free.fr> [990676a46e9026809937e239c1cfb1cd0a29750d] + + src/msvc6/TestPlugInRunner/: A test runner to run test plug in. Test plug in are DLL that publish a specified plug in interface. Those DLL are loaded and reloaded by the TestPlugInRunner to run tests. This remove the need to wrap DLL with a executable to test them. + + +2001-06-27 Baptiste Lepilleur <gaiacrtn@free.fr> [acd82b264a3b635c610f7e6320465a52f2b15d2d] + + examples/msvc6/TestPlugIn/: a new example of test plug in. + + +2001-06-27 Baptiste Lepilleur <gaiacrtn@free.fr> [5813e2e80e995893a0a2d2fe4a6f6a8c2155d82c] + + Examples/msvc6/CppUnitTestApp/CppUnitTestApp. + + examples/msvc6/CppUnitTestApp/CppUnitTestApp.dsp: + moved dll copy from post-build to custom build setting, so that the + dll is copied even if the CppUnitTestApp was not modified. + + * examples/msvc6/TestPlugIn/: a new example of test plug in. + + * src/msvc6/TestRunner/ListCtrlFormatter.* + * src/msvc6/TestRunner/ListCtrlSetter.*: + added, helper to manipulate list control. + + * src/msvc6/TestRunner/TestRunnerDlg.*: change to make the error list + more compact. text moved to string resources. icons added for typ + test tfailure type. + + * src/msvc6/TestRunner/MostRecentTests.*: added, classes that will + replace the current implementation of MRU test which make it hard + to subclass the dialog. + + * src/msvc6/TestRunner/res/errortype.bmp: added, bitmap with error + types (failure and error). + + * src/msvc6/TestPlugInRunner/: A test runner to run test plug in. + Test plug in are DLL that publish a specified plug in interface. + Those DLL are loaded and reloaded by the TestPlugInRunner to run + tests. This remove the need to wrap DLL with a executable to test + them. + + * src/cppunit/cppunit.dsp: + removed config.h from project + added Portability.h and config-msvc6.h + + * include/cppunit/config-msvc6.h: + undef CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST + +2001-06-20 Steve M. Robbins <smr@sumost.ca> [d52bd686fe91e4c5104b60632ed18eb26ae827f6] + + Add README.CVS; improve autogen.sh + + +2001-06-18 Steve M. Robbins <smr@sumost.ca> [62c771b26595503eabcd56c668ee35a526fa9f72] + + Fix option setting. + + +2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [c4ee17dc39fa7a1f62d467c76f573150e497c7e0] + + Added for new config handling. + + +2001-06-17 Steve M. Robbins <smr@sumost.ca> [7cafa0d515eab99e3d5f92d8fc8a6aa42f30f6fe] + + Add AC_PREREQ; remove include/cppunit/config.h + + +2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [3453d13964327fc8655147d6370f6818cf54524e] + + Integration of AC_CREATE_PREFIX_CONFIG_H macro in autoconf setup. + + +2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [32317b95c74777975a67bcec836014c373383d59] + + Obsoleted by AC_CREATE_PREFIX_CONFIG_H macro. + + +2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [2382df7e9789dff732536570898224b56b0f19c9] + + Removed include/cppunit/config.h from AC_OUTPUT + + +2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [0c64132137b5ff9275bf7478921dabcef52af249] + + Added newline at end of file. + + +2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [399aab551a37b9f5e1df06ac4c0e81de873f2379] + + Replaced #include of <config.h> with <cppunit/Portability.h> + + +2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [0962cef68c376aa22ff136c1303d33155dcb8008] + + Removed config.h, added config-auto.h, config-msvc6.h, config-bcb5.h, Portability.h added dist-hook to exclude config-auto.h from dist tar + + +2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [065e592181dceae075d14d6b213d6092df92ae9f] + + Use new macro name CPPUNIT_FUNC_STRING_COMPARE_STRING_FIRST replaced #include of <config.h> with <cppunit/Portability.h> + + +2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [6e4b269d112ad1d0b544d2fa968a2ee3ceb81e38] + + Moved doxygen stuff from configure.in into BB_ENABLE_DOXYGEN macro. + + +2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [0a204c268611b08695273652bff1dc73f1470c78] + + Added + + +2001-06-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [6f3ea9af0167a713bcb09b8edec4ad5e87e18318] + + Moved config.h from include/ to config/ added AC_CREATE_PREFIX_CONFIG_H call moved doxygen stuff into BB_ENABLE_DOXYGEN macro + + +2001-06-12 Baptiste Lepilleur <gaiacrtn@free.fr> [e07297cc91c9a1b78d6f4ac0f2e27de91aef73f3] + + src/cppunit/TestFactoryRegistry.cpp: fixed makeTest(). It did not use m_name for naming the suite. + + +2001-06-12 Baptiste Lepilleur <gaiacrtn@free.fr> [00400ef244e0787f4f13a9391b08c53425169afe] + + examples/msvc6/CppUnitTestApp/CppUnitTestApp.cpp: modified so that the dialog is not displayed after the tests are run. + + +2001-06-12 Baptiste Lepilleur <gaiacrtn@free.fr> [9405d503445f0135fcd1ab67ffafeb06c67c120f] + + Examples/cppunittest/OrthodoxTest. + + examples/cppunittest/OrthodoxTest.*: operator ! use explicit construction. + +2001-06-12 Baptiste Lepilleur <gaiacrtn@free.fr> [e2957bb10fd80af24cd5342de04e6d7fe2ea4459] + + Examples/cppunittest/NotEqualExceptionTest. + + examples/cppunittest/NotEqualExceptionTest.*: added unit tests for + NotEqualException. + +2001-06-12 Baptiste Lepilleur <gaiacrtn@free.fr> [bf78ed5d2c0f623efd08c277f97b240f2fef7ee6] + + Include/cppunit/NotEqualException. + + include/cppunit/NotEqualException.h + * src/cppunit/NotEqualException.h: + Fixed constructor and operator = (aren't unit test nice?). Added + methods expectedValue() and actualValue(). + + * include/cppunit/TestAssert.h: + * src/cppunit/TestAssert.cpp: + Use NotEqualException to report equality failure. + + * src/cppunit/TestResult.cpp: + Report expect/was on different line for assertEquals failure. + + * examples/cppunittest/NotEqualExceptionTest.*: added unit tests for + NotEqualException. + +2001-06-11 Steve M. Robbins <smr@sumost.ca> [517df147c8508ec32c7ab780cc434d7f541e2bc7] + + Revert unintended commit + + +2001-06-11 Steve M. Robbins <smr@sumost.ca> [c472c67d5a8b398e1d57395894ae8b7cb990a873] + + *** empty log message *** + + +2001-06-11 Steve M. Robbins <smr@sumost.ca> [639125063e35985d27d435789c99bf05284a61b7] + + Fixes for test suite + + +2001-06-11 Steve M. Robbins <smr@sumost.ca> [12689d8435558bb9a95f92ad1a2c47285c615951] + + Add missing source file. + + +2001-06-11 Steve M. Robbins <smr@sumost.ca> [e4988f5201647d5716715f14e1e61ce5627fab46] + + Bug fix + + +2001-06-11 Baptiste Lepilleur <gaiacrtn@free.fr> [6e21ddd4f383c1ea2231d585bd7f63697d11fc04] + + 2001-06-11 Baptiste Lepilleur <gaiacrtn@free.fr>: unit tests update. + + +2001-06-11 Baptiste Lepilleur <gaiacrtn@free.fr> [da8e822d28d281276f4cef78b7e7c7f2660de232] + + Include/cppunit/Exception. + + include/cppunit/Exception.h: now inherit from std::exception instead + of ::exception. Added clone(), type(), and isInstanceOf() + methods for subclassing support. Changed UNKNOWNLINENUMBER type to long + for consistence with lineNumber(). + + * include/cppunit/NotEqualException.h: addded, exception to be used + with assertEquals(). + + * include/cppunit/TestAssert.h: changed TestAssert into a namespace + instead of a class. This remove the need of template member methods + and does not cause compiler internal error on VC++. + Macro CPPUNIT_ASSERT_MESSAGE has been added to fail test with + a specified message. + + * include/cppunit/TestCaller.h: added "Expected exception" support. + Based on Tim Jansen patch (#403745), but use a traits instead of RTTI + to distingh between "No expected exception" and "Excepted exception". + Exception type name is reported using RTTI if CPPUNIT_USE_TYPEINFO is + defined. + +2001-06-11 Baptiste Lepilleur <gaiacrtn@free.fr> [e38eb47e23d6106c32ee136351b0080313339270] + + Include/cppunit/extensions/HelperMacros. + + include/cppunit/extensions/HelperMacros.h: static method suite() + implemented by CPPUNIT_TEST_SUITE_END macro now returns a TestSuite + instead of a Test. + + * include/cppunit/extensions/RepeatedTest.h: corrected countTestCases, + operator = declaration. + + * include/cppunit/extensions/TestDecorator.h: removed const from run() + method. Did not match run() declaration of Test class. + + * include/cppunit/extensions/TestFactory.h: fixed a comment. + + * include/cppunit/extensions/TestSetup.h: corrected run() method + declaration. Methods setUp() and tearDown() were not declared virtual. + + * include/cppunit/extensions/TestSuiteBuilder.h: added a method + addTestCaller() which take a pointer on a fixture. + +2001-06-11 Baptiste Lepilleur <gaiacrtn@free.fr> [c7a4dccd9f1b1fadcd47afe482c8a8ff9e05ea8f] + + Include/cppunit/NotEqualException. + + include/cppunit/NotEqualException.cpp: addded, exception to be used + with assertEquals(). + + * src/cppunit/RepeatedTest.cpp: added to reduce header dependency + (TestResult.h was missing). + + * src/cppunit/TestAssert.cpp: added to put non template functions + there. + + * src/cppunit/TestCase.cpp: added std:: prefix to + catch (exception& e). Integrated a modified version of Tim Jansen + patch (#403745) for TestCase to make the unit test (TestCaseTest) + pass. If the setUp() fail then neither the runTest() nor + the tearDown() method is called. + +2001-06-11 Baptiste Lepilleur <gaiacrtn@free.fr> [1806e9640462461fba3e1149c7b2c4a31805ec5e] + + examples/examples.dsw: added cppunittest projects to workspace. + + +2001-06-11 Baptiste Lepilleur <gaiacrtn@free.fr> [77e014c1992793da5c059bc09eafd183bde8785d] + + Examples/cppunittest/TestResultTest. + + examples/cppunittest/TestResultTest.*: renamed TestListenerTest.* + +2001-06-11 Baptiste Lepilleur <gaiacrtn@free.fr> [0c5051a8acf83fd77a6094177eb0711d3f90d997] + + Examples/cppunittest/TestResultTest. + + examples/cppunittest/TestResultTest.*: renamed TestListenerTest.* + + * examples/cppunittest/*: added unit tests for: + HelperMacros, TestAssert, TestCaller, TestCase, TestFailure, + TestResult, TestSuite, TestDecoratorTest, TestSetUp, RepeatedTestTest, + Orthodox, Exception. + +2001-06-11 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [021d0a2611777a06d948735e0ad36cb90ffd413b] + + Renamed from TestSetup.h + + +2001-06-11 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [be9c2ced0eda31e0485f92ee8768b1c00bedf41d] + + Renamed to TestSetUp.h + + +2001-06-10 Baptiste Lepilleur <gaiacrtn@free.fr> [7049d3f3883ec2caec4b28291ccc312997d202fd] + + Include/extensions/TestSetup.h: renamed TestSetUp.h for consistency. + + +2001-06-10 Baptiste Lepilleur <gaiacrtn@free.fr> [b3576400de89f915a43c190940cdf5f9315d6ec8] + + Include/extensions/TestSetup.h: renamed TestSetUp.h for consistency. + + +2001-06-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [4d03b7513fed3862f9992fe88fa0021dcf1d6f92] + + Compilation fix in TestCallerTest. + + +2001-06-05 Baptiste Lepilleur <gaiacrtn@free.fr> [13f8118cff6bd4315869fcc6ed7b1c397b435a9e] + + Corrected the date for blep entry... + + +2001-06-05 Baptiste Lepilleur <gaiacrtn@free.fr> [255fed3c27815d3074bdaafb2b5ed377bd4868f8] + + Src/cppunit/TypeInfoHelper. + + src/cppunit/TypeInfoHelper.cpp: removed #include <config.h>, cppunit/config.h was already included. + + * src/cppunit/cppunit.dsp: removed TestAssert.cpp from project. + + * added/updated .cvsignore files for beter handling of windows projects. + + * added include/cppunit/config.h with a default configuration for VC++ 6.0. + + * include/cppunit/.cvsignore: removed config.h from the list of ignored file. + + * renamed VC++ configurations without RTTI from "Debug No CU_USE_TYPEINFO" to "Debug Crossplatform". + + * include/cppunit/TestAssert.h: added include <math.h> for fabs(). + +2001-06-02 Steve M. Robbins <smr@sumost.ca> [12cdd391bd1a4ebb0fe478a370fa64dd222c50e7] + + Remove unnecessary namespace + + +2001-06-02 Steve M. Robbins <smr@sumost.ca> [9651ccfc354182826aeacb100cba94245f70b78e] + + Determine string::compare() weirdness automatically. + + +2001-06-02 Steve M. Robbins <smr@sumost.ca> [cdbca4119defbc5f9698906633eec05b5dc8272a] + + Change to templatized TestAssert::assertEquals() and the new CPPUNIT_ASSERT* macros + + +2001-06-02 Steve M. Robbins <smr@sumost.ca> [99f54c0f4b53debc49f2081ce01158b2ed200c30] + + Replace CU_ by CPPUNIT_. + + +2001-06-01 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [e3dfe8c45eec2adc487b938795d4fca3e5983f68] + + (suite): fixed 'ISO C++ forbids taking the address of a bound member function to form a pointer to member function' bug reported by g++. (suite): removed dependency on RTTI. + + +2001-06-01 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [8f08829c7e7119cbea74d91dd8e2b126f14fd34d] + + Added. + + +2001-06-01 Baptiste Lepilleur <gaiacrtn@free.fr> [8c24e60a1c43fc24ee65618155795037770b5196] + + Added project cppunittest to examples/: unit tests to test cppunit. + + added project cppunittest to examples/: unit tests to test cppunit. The + main file is CppUnitTestMain.cpp. Unit tests have been implemented + for TestCaller and TestListener. + * added project CppUnitTestApp to examples/msvc6: graphical runner for + cppunittest. + * added TestListener to TestResult. It is a port of junit TestListener. + * updated some .cvsignore to ignore files generated with VC++. + +2001-05-30 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [bc6338edfd9b10327c83142fef1e427c5cb3e80f] + + (toString): put type_info in std namespace and inside CU_USE_TYPEINFO ifdef. + + +2001-05-29 Steve M. Robbins <smr@sumost.ca> [0968f4b9e940f9ef16937b43339c9ec2c9937eff] + + Remove extraneous includes + + +2001-05-29 Steve M. Robbins <smr@sumost.ca> [d72591aa733dfb163c40729348dfb61cbf03bf9c] + + Fix output of TextTestResult + + +2001-05-29 Steve M. Robbins <smr@sumost.ca> [b408d39128a88c1e60828980190bbe1cbe21a2e5] + + Fix CU_TEST* macros and their documentation. + + +2001-05-29 Steve M. Robbins <smr@sumost.ca> [f56eeb79dad601aa7e16e88d3248d5a0d3294122] + + Documentation mods. + + +2001-05-29 Steve M. Robbins <smr@sumost.ca> [92ef71c5ff1847b85768e7b1d5e5138bcfdb692a] + + Update cookbook and change log. + + +2001-05-23 Baptiste Lepilleur <gaiacrtn@free.fr> [1c884ac7e6a0efc265f7f244f66345f4f65d626f] + + * Updated CU_TEST_SUITE macro documentation. It is now stated explicitly that you do not need to specify template parameter as macro argument. The documentation example has been updated to reflect that. + + +2001-05-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [054d581bfeedc987887483de61f9922092c1b4b9] + + Added options to automake and libtoolize to recreate generated files. + + +2001-05-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [bd57b42a57d1bad1ca1f52a8d4ebcd695824ebf9] + + Removed files generated by automake from CVS. + + +2001-05-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [45b2dd3a6c4fb63897d7ef820adf72049e450fc6] + + Removed files generated by libtoolize from CVS. + + +2001-05-20 Baptiste Lepilleur <gaiacrtn@free.fr> [ef7b26956e5cec0e20220b4cebc8b58c1a9f7c64] + + Access violation caused by NULL pointer in history list. + + * Fixed bug #424320 (VC++ TestRunner): access violation caused by NULL pointer in history list. NULL pointer are not added to the history anymore. + +2001-05-19 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [88e86d062d01cd27d81c0bf8d4f54703d3d39de9] + + Updated Makefile.am's to reflect Baptistes file additions and removals. + + +2001-05-19 Baptiste Lepilleur <gaiacrtn@free.fr> [309306237815f3351cebbd276e2a744ebfeecd49] + + Modified VC++ project to add TextTestRunner to cppunit lib. + + +2001-05-19 Baptiste Lepilleur <gaiacrtn@free.fr> [fed3ef0b01704ee7fd9f41e8cbb706da38c004fe] + + * Merged Steve M. Robbins patch to replace assertImplementation with assert in hierarchy example. * Added a TextTestRunner to runner tests. It is based on Michael Feather's version, but have been rewriten. * Removed traces that printed the test name in TextTestResult while running. * Added the test name to error and failure report in TextTestResult. * Updated hierarchy example to use TextTestRunner. + + +2001-05-19 Baptiste Lepilleur <gaiacrtn@free.fr> [5d704cbbd7928e8a3baec2e18c8d7e0e6089dc6e] + + * Added some items to the TODO list for VC++ TestRunner. * "Debug" configuration is now the default configuration in VC++ project. * Modified sort order in the test browser of VC++ TestRunner so that test are in the same order as in the suite. Suite are still sorted. + + +2001-05-18 Baptiste Lepilleur <gaiacrtn@free.fr> [d868836719b2efe76504cea66b7db7255337c8b1] + + BL- added a todo list for VC++ test runner + + +2001-05-18 Baptiste Lepilleur <gaiacrtn@free.fr> [82017693c2dcaab03556154d990fe44591fb6f0a] + + :registerFactory(factory) now generate a dummy name based on a serial number instead of using RTTI. + + * Symbol CU_USE_TYPEINFO must be defined instead of USE_TYPEINFO to + compile RTTI. + * Added back default constructor to TestSuiteBuilder which use RTTI. + It is available only if CU_USE_TYPEINFO is defined. + * Moved TypeInfoHelper.h from src/cppunit to include/cppunit/extensions. + * Macro CU_TEST_SUITE in HelperMacros.h now use TestSuiteBuilder default + constructor if CU_USE_TYPEINFO is defined, otherwise it use the + type name given to the CU_TEST_SUITE macro. + * TestFactoryRegistry::registerFactory(factory) now generate a dummy + name based on a serial number instead of using RTTI. The macro + CU_TEST_SUITE_REGISTRATION and class AutoRegisterSuite can now + when CU_USE_TYPEINFO is not defined. + * Added a new Configuration named "Debug Without CU_USE_TYPEINFO" to + msvc6 projects. The flag CU_USE_TYPEINFO is not defined in that + configuration. + +2001-05-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [15bf5fbb250670464df54ef9155cc3b391118523] + + Merged fixes for distcheck target, contributed by Steve M. Robbins <steve@nyongwa.montreal.qc.ca>. + + +2001-05-17 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [e8aa70581a321cdda94e734b295d51d1fc3c1d7a] + + Added .cvsignore files contributed by Steve M. Robbins" <steven.robbins@videotron.ca>. + + +2001-05-16 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [e2dbd8696a57c211cd1e78fda79f565ce2d0d6c6] + + Added Debian support. + + +2001-05-16 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [b10413b5df361ea8e1e211eaaa4ff0537f5b89d6] + + Got in by accident: removed again. + + +2001-05-16 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [1536b5b34110f8bbc0f89d458074e4195da19698] + + Added debian packaging support by Christian Leutloff <leutloff@debian.org>. Use 'make debian' to build. Since Christians files were for 1.5.4, they problably need to be resynced. + + +2001-05-15 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [124af9e976560ac2bcb9c8e00a01f9f0ae47d185] + + Added cppunit-config to RPM. + + +2001-05-15 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [9ffbe9bc247b298d076ae688d66cad69ce4db4c3] + + Added acknowledgements for Baptiste, Tim and myself. + + +2001-05-15 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [f8bcdad1ad2db2a4736927667f98a5bc83467d92] + + Forgotten in CppUnitW 1.2 merge. + + +2001-05-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [5ffe3d0c85f84b451bc0abf05e431a9b3188705d] + + Release as 1.5.5. + + +2001-05-09 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [8207d119892bf3e94b948fb99aa9d02ea4f1b385] + + Set CPPUNIT_INTERFACE_AGE and CPPUNIT_BINARY_AGE to zero: 1.5.5 is not completely backwards compatible. + + +2001-05-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [90296fa9c8fdedb9104faba5a8bac62210a9a80d] + + Added constructors to TestCaller which accept an already constucted Fixture. + + +2001-05-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [58bffb0f4dafa3f2457ef65cec4546fbf6ff3428] + + Should not be in CVS. + + +2001-05-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [f3bd175af8c96708a3a629118fc59749444bb753] + + Renamed AbstractTestFactory to TestFactory. + + +2001-05-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [c29893f76ae8c37e14eb99f25d517535c1d37b42] + + Removed unnecessary #include's of TestSuiteBuilder.h Removed RTTI dependent stuff from TestSuite and TestSuiteBuilder. + + +2001-05-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [92c488aa6f744a1f0f0bbc92ad485d5cc715736a] + + Use 'typename' in templates, instead of 'class'. give complete types in registerTests(). + + +2001-05-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [e755afe395b6ca13d2d1924fbc085703e9d49692] + + Fixed #include's for cppunit headers. + + +2001-05-06 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [2db1afb54da0fafc81dbc88956129616f09de24a] + + Convert *.ds? files to CRLF endings in dist-hook. + + +2001-05-05 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [b657aa515178205772ab2e95f365bd5a77364610] + + Merge of CppUnitW 1.2 phase 2. + + +2001-04-29 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [a2509e56dd1e457e88d32410d7524a1363f59e96] + + TypeInfoHelper should not have been removed. + + +2001-04-29 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [6a660d8b9ffd15e5c3df754799dba5aa36e8b86d] + + CppUnitW 1.2 Merge. + + +2001-04-29 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [b08ecaecc1e39b7b01e02b7b73559d8b34ff46a5] + + Merged Baptiste Lepilleurs CppUnitW 1.2. Some differences: TypeInfo stuff (in TestSuite) compiled in only if USE_TYPEINFO is set. TestSuite.getTests now returns a const ref instead of taking a ref as param. Removed auto_ptr stuff from TestFactoryRegistry: auto_ptr cannot be used in containers. + + +2001-04-28 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [5ce1a68589aa3ea4f9ee255cfecc94cc1730c6fa] + + Merged from Baptiste Lepilleurs patch. Missed at first try. + + +2001-04-28 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [2771c2373990be0514c69c77a63dee6f92ad69a0] + + TestRunner merge and cppunit subdir move. + + +2001-04-28 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [6d95c46d9dc342bea176c8fbcd101db8eba24bef] + + Moved files in subdir cppunit to src/cppunit. + + +2001-04-28 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [7e4ccacdbcf2f78005447f16e49d339d2a70e9ca] + + Fixed dist-hook target. + + +2001-04-28 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [f761fead7b57fb6c2a4b9fc3d675f75991da2666] + + Merged msvc6 specific TestRunner and example adapted from Michael Feathers version by Baptiste Lepilleur. + + +2001-04-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [c6f2e038b884541c0c8f7886b4ce00718f617a97] + + TestRegistry patch merge, extension header addition. + + +2001-04-23 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [243d1d33d1f6a45854882645e1860e5cc2839fc3] + + Merged Baptiste Lepilleurs patch for TestRegistry: now TestCases do not automatically register with the Registry anymore. + + +2001-04-22 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [c910c4cc5cde77b7ef034c50058d8d5f11bd4b71] + + Merged extension headers back in from Micheal Feathers version. + + +2001-04-21 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [788f81ef8dac04bb5fd0b88cc6d0ef150c4c5a6f] + + Removed '\r' characters from msvc++ .dsw and .dsp files. + + +2001-04-21 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [8996736426b2c000048bb79c67bbb30139377c7b] + + One more std:: added. + + +2001-04-19 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [dffc054fee3f15cabafbc43807677658bf44c82f] + + Added *.dsw and *.dsp files to EXTRA_DIST. + + +2001-04-19 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [e190bd8288907d28f21e5a9baf577c7a9984f9b6] + + Added MSVC++ workspace and project files. + + +2001-04-18 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [604b113c6db1562b6e5835b7864d96cdd8261ca2] + + Add mysteriously vanished estring.h. + + +2001-04-16 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [a8d9fa647f06e1efeac975d0b598c0f860ed3dca] + + Fix compilation bug on Win32/MSVC++. + + +2001-04-15 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [bf138fa28ab39968125daf8bb1d0bae40379bbc0] + + Prefixed cout, cerr and endl with std::. + + +2001-04-15 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [6392505d0ddbecf40c62c241a4f3efc6af8456b8] + + Added 'moved public headers' and 'moved autoconf aux stuff'. + + +2001-04-15 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [568d17e66e62551a055fad72d8f6416655e01f65] + + Forgot config/Makefile in AC_OUTPUT. + + +2001-04-15 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [a2076b1fedb66b004c6916ba9ad575b66fe8539a] + + Set CONFIG_AUX_DIR to config and moved corresponding files from . to config. + + +2001-04-14 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [185b4cd8389d947bf38d636239acef2a71592295] + + Prevent estring.h from being installed in include dir. + + +2001-04-14 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [fb5695f7ca74f6557bdff1ceff009628ac3adc4a] + + Moved public header files from cppunit dir to include/cppunit, to separate them from internal header files like estring.h. + + +2001-04-14 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [f5f2b1d2761b1d81c042d51619182c7951fd23aa] + + Always use namespace std for strings and vectors. + + +2001-04-14 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [d10c36e40929fd910197327949cd30d250a33c8a] + + Updated ChangeLog and configure.in for 1.5.4. + + +2001-04-14 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [f57f4bff9a5dd75d7ed9ade67d964e20815d63ea] + + Removed all 'using namespace' occurrences. + + +2001-04-14 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [1f18ff96d66b23a83f95ecad20f3061a8243248c] + + Doc RPM did not include any documentation. + + +2001-04-14 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [ce86b6442b912de2b7c675e1d19c3b97d9d954a8] + + Fix bug #224542: bogus 'inline' specifiers in *.cpp files. + + +2001-04-13 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [4d5cdcf85cc600346e23c490bc73a5562f14c493] + + 'unix cookbook' -> 'CppUnit cookbook'. + + +2001-04-13 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [d93deacda7b15424d0540741b58de761d9257f84] + + Fix bug #223290: cerr undefined. + + +2001-04-13 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [b7e66b5d745f82649dfaa1955310749232b9cb38] + + Fix bug #232636: TextTestResult::printHeader(ostream& stream) outputs to cout. + + +2001-04-13 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [605e750186314420809c829eb5fcb9d4d21f3cf0] + + Fix bug #414073: link to project page. + + +2001-04-13 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [293dbbfe8fa9d202620b997266e765d2448bec63] + + Added support for building RPMs using 'make rpm'. + + +2001-04-13 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [12546b189e14b8bb061285734c8bc28346b44966] + + Enabled man page generation. Added *.html and *.dox files to dist tar ball. + + +2001-04-13 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [373a9f67d577add10834b3c775fc14ab9b76190c] + + Added *.h files to dist tar ball. + + +2001-04-13 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [d768c6c84538ba95156c8e6df780636ce20705d6] + + Document generation is now autoconfed. (copied from log4cpp autoconf/automake). Added doc subdir to dist. Upped version number to 1.5.3. + + +2001-04-13 Bastiaan Bakker <bastiaan.bakker@lifeline.nl> [707e01adf2b6d3493537c801f1bc9baa34136fdc] + + Merged patch #403542 by Tim Jansen <timj@systembureau.com>. Fixes bug #220207: "const" problem with countTestCases. Fixes 'TestSuite::deleteContent() clear vector' Fixes 'Fix: TestCaller registered Fixture' (see patch #403541). Fixes bug #415219: example did not test anything. + + +2000-10-13 Eric Sommerlade <eric@sommerla.de> [d9b77af99b560d86beee4f10b260ed1632515d56] + + Removed debugging stuff. + + +2000-10-13 Eric Sommerlade <eric@sommerla.de> [91b0c2be5b93933e0ff6d536266548f7db0a4eb9] + + Changed documentation. + + +2000-10-13 Eric Sommerlade <eric@sommerla.de> [9086ad85e80df207ccd88b27309d0a0866888afb] + + Default constructor does not register any more - it expects the test being registered in a suite. + + +2000-10-13 Eric Sommerlade <eric@sommerla.de> [5e88d9b36ce4f95e3677d1ba196a0dfe0c258d5f] + + Changed output. + + +2000-10-13 Eric Sommerlade <eric@sommerla.de> [fbaa5970a3c59ff8b81904d4112915c520a0fc5f] + + Fixed registry initialized flag. + + +2000-10-13 Eric Sommerlade <eric@sommerla.de> [00bf2eb43d3a87786bbd15495ce63c5ed183aabe] + + Code beautification. + + +2000-10-13 Eric Sommerlade <eric@sommerla.de> [1822778d361cb77918718fe9113d6a48eeb9d4ba] + + Specified names for tests. + + +2000-10-11 Eric Sommerlade <eric@sommerla.de> [1c569487821887f754a222be0b526f41200395b4] + + Changed version number + + +2000-10-11 Eric Sommerlade <eric@sommerla.de> [f422aa88bceae30896e086104974dbd0db8c9e64] + + Changed release number. + + +2000-10-11 Eric Sommerlade <eric@sommerla.de> [e75682a3cb8c02c5d001bc0f67fd4ca5d26e51b3] + + Added examples directory to distribution. + + +2000-10-11 Eric Sommerlade <eric@sommerla.de> [773f887465f1338b8959d658518ddf67b783ca90] + + Added main function and Makefile + + +2000-10-11 Eric Sommerlade <eric@sommerla.de> [067d58bdf82882a81c24a0ad59fd170b1485694d] + + Makefile for all examples. + + +2000-10-11 Eric Sommerlade <eric@sommerla.de> [4618c8347d88510442d81306fc66af320b7ba2a5] + + Added TextResult files. + + +2000-10-05 Eric Sommerlade <eric@sommerla.de> [f73cfc2adde289e9945be0d0ff119b078c6d3798] + + Removed dot tool + + +2000-10-05 Eric Sommerlade <eric@sommerla.de> [c7623ebd7f73cbefd977cd97794a6b846de14205] + + Initial check in. + diff --git a/CodingGuideLines.txt b/CodingGuideLines.txt new file mode 100644 index 0000000..b648513 --- /dev/null +++ b/CodingGuideLines.txt @@ -0,0 +1,31 @@ +CppUnit's coding guidelines for portability: +-------------------------------------------- + +- don't explicitly declare CppUnit namespace, instead use macro + CPPUNIT_NS_BEGIN and CPPUNIT_NS_END. + +- don't explicitly use 'CppUnit' to refer to class in CppUnit namespace, + instead use macro CPPUNIT_NS which expands to either 'CppUnit' or + nothing depending on the configuration. + +- don't use the 'using directive', always use full qualification. For STL, + always use std::. + +- don't use the mutable keyword, instead do a const cast. + +- don't use default parameter value in template function. Not supported + by all compiler (on OS/390 for instance). + +As such, usage of those features should always be optional. + +CppUnit's version control system management +-------------------------------------------- + +- only commit patches that are known to build; other commits might just be reverted + to allow bisecting + +- work in feature branches until your feature is ready to merge, if the feature + may break the build ask for review on the libreoffice developer mailing list + +- new features and patches without bug report only in master + and not in stable branches @@ -0,0 +1,226 @@ +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. (Caching is +disabled by default to prevent problems with accidental use of stale +cache files.) + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You only need +`configure.ac' if you want to change it or regenerate `configure' using +a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes awhile. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. Run `./configure --help' +for details on some of the pertinent environment variables. + + You can give `configure' initial values for variables by setting +them in the environment. You can do that on the command line like this: + + ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix + + *Note Environment Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not support the `VPATH' +variable, you have to compile the package for one architecture at a time +in the source code directory. After you have installed the package for +one architecture, use `make distclean' before reconfiguring for another +architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' cannot figure out +automatically, but needs to determine by the type of host the package +will run on. Usually `configure' can figure that out, but if it prints +a message saying it cannot guess the host type, give it the +`--build=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS + KERNEL-OS + + See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the host type. + + If you are _building_ compiler tools for cross-compiling, you should +use the `--target=TYPE' option to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the host +platform (i.e., that on which the generated programs will eventually be +run) with `--host=TYPE'. In this case, you should also specify the +build platform with `--build=TYPE', because, in this case, it may not +be possible to guess the build platform (it sometimes involves +compiling and running simple test programs, and this can't be done if +the compiler is a cross compiler). + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Environment Variables +===================== + + Variables not defined in a site shell script can be set in the +environment passed to configure. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the `configure' command line, using `VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +will cause the specified gcc to be used as the C compiler (unless it is +overridden in the site shell script). + +`configure' Invocation +====================== + + `configure' recognizes the following options to control how it +operates. + +`--help' +`-h' + Print a summary of the options to `configure', and exit. + +`--version' +`-V' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally `config.cache'. FILE defaults to `/dev/null' to + disable caching. + +`--config-cache' +`-C' + Alias for `--cache-file=config.cache'. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`configure' also accepts some other, not widely useful, options. Run +`configure --help' for more details. + diff --git a/INSTALL-WIN32.txt b/INSTALL-WIN32.txt new file mode 100644 index 0000000..6b0a8f5 --- /dev/null +++ b/INSTALL-WIN32.txt @@ -0,0 +1,172 @@ +Frequently Asked Questions: See doc/FAQ
+
+
+At the current time, the only supported WIN32 platform is
+Microsoft Visual C++. You must have VC++ 2010 at least.
+
+Quick Steps to compile & run a sample using the GUI TestRunner:
+- Open examples/examplesXXXX.sln in VC++ (contains all the samples).
+- Make HostApp the Active project
+- Compile
+- Run the project
+
+
+Project build Target:
+---------------------
+
+Framework & tools:
+
+* cppunit (cppunit.lib) : unit testing framework library, the one you use
+to write unit tests.
+
+* cppunit_dll(cppunit_dll.dll/lib) : same as above, but build as a DLL.
+
+* DllPlugInTester(DllPlugInTester.exe) : test plug-in runner executable.
+Use this to test DLL in your post-build step, or debug them.
+
+* TestRunner (testrunner.dll) : a MFC extension DLL to run and browser unit
+tests from a GUI.
+
+* TestPlugInRunner : (Warning: experimental) a VC++
+application to run test plug-in. A test plug-in is a DLL that publish a
+specified interface. This application is still incomplete (the auto-reload
+feature is missing).
+
+All libraries are placed in the lib/ directory.
+
+
+Examples:
+---------
+
+* CppUnitTestMain : the actual test suite use to test CppUnit. Use a
+TextTestRunner, and post-build testing with CompilterOutputter. Configuration
+to link against cppunit static library and cppunit dll library.
+
+* CppUnitTestApp : contains the same test suite as CppUnitTestMain, but
+run them using the MFC TestRunner.
+
+* hierarchy : a sample demonstrating how to sublcass test (you might rather
+want to use HelperMacros.h and the CPPUNIT_TEST_SUB_SUITE macro which does
+it in a 'cleaner' way. That sample has not been updated for a long time).
+
+* HostApp : a sample using the MFC TestRunner demonstrating different test
+failure. Also demonstrates the MFC Unicode TestRunner.
+
+* Money : an example that come along with the Money article of the
+documentation. Probably what you want to look at if you are a newbie.
+
+
+Configuration:
+--------------
+
+CppUnit and TestRunner comes with 3 configurations.
+
+* Release (): Multihtreaded DLL, release mode
+* Debug (d): Debug Multithreaded DLL, debug mode
+* Unicode Release (u): Unicode Multihtreaded DLL, release mode
+* Unicode Debug (ud): Unicode Debug Multithreaded DLL, debug mode
+
+For CppUnit, when building as dll, "dll" is appended to the 'suffix'.
+
+The letters enclosed in brackets indicates the suffix added to
+the library name. For example, the debug configuration cppunit static library
+name is cppunitd.lib. The debug configuration cppunit dll name is cppunitd_dll.lib.
+
+
+Building:
+---------
+
+* Open the src/CppUnitLibrariesXXXX.sln workspace in VC++.
+* In the 'Build' menu, select 'Batch Build...'
+* In the batch build dialog, select all projects and press the build button.
+* The resulting libraries can be found in the lib/ directory.
+
+
+Testing:
+--------
+
+* Open the workspace examples/examplesXXXX.sln.
+* Make CppUnitTestApp the active project.
+* Select the configuration you build the library for.
+* Compile and run the project. The TestRunner GUI should appear.
+
+
+Libraries:
+----------
+
+All the compiled libraries and DLL can be found in the 'lib' directory.
+Most libraries can be build from src/CppUnitLibrariesXXXX.sln workspace.
+
+lib\:
+cppunit.lib : CppUnit static library "Multithreaded DLL"
+cppunitd.lib : CppUnit static library "Debug Multithreaded DLL"
+cppunit_dll.dll : CppUnit dynamic library (DLL) "Multithreaded DLL"
+cppunit_dll.lib : CppUnit dynamic import library "Multithreaded DLL"
+cppunitd_dll.dll : CppUnit dynamic library (DLL) "Debug Multithreaded DLL"
+cppunitd_dll.lib : CppUnit dynamic import library "Debug Multithreaded DLL"
+testrunner.dll : MFC TestRunner dynamic library (DLL) "Multithreaded DLL"
+testrunner.lib : MFC TestRunner import library "Multithreaded DLL"
+testrunnerd.dll : MFC TestRunner dynamic library (DLL) "Debug Multithreaded DLL"
+testrunnerd.lib : MFC TestRunner import library "Debug Multithreaded DLL"
+testrunneru.dll : MFC Unicode TestRunner dynamic library (DLL) "Multithreaded DLL"
+testrunneru.lib : MFC Unicode TestRunner import library "Multithreaded DLL"
+testrunnerud.dll : MFC Unicode TestRunner dynamic library (DLL) "Debug Multithreaded DLL"
+testrunnerud.lib : MFC Unicode TestRunner import library "Debug Multithreaded DLL"
+
+Notes that when you are using CppUnit DLL (cppunit*_dll.dll), you must link
+against the associated import library and define the pre-processor symbol
+CPPUNIT_DLL in your project.
+
+
+Tools:
+------
+
+CppUnit provides a generic test runner for test plug-in: DllPlugInTester.
+It can be found in the lib/ directory. It requires cppunit*_dll.dll
+
+lib/:
+DllPlugInTester_dll.exe : test plug-in runner, "Multithreaded DLL", cppunit_dll.dll
+DllPlugInTesterd_dll.exe : test plug-in runner, "Debug Multithreaded DLL", cppunitd_dll.dll
+DllPlugInTester.exe : test plug-in runner, "Multithreaded DLL", static link cppunit.lib
+DllPlugInTesterd.exe : test plug-in runner, "Debug Multithreaded DLL", static link cppunitd.lib
+
+Notes that the DllPlugInTester(d).exe version of this tools does not allow
+to use the automatic test registration that comes along with test plug-in.
+You probably don't want to use them unless you really know what you are doing.
+
+
+Using CppUnit:
+--------------
+
+* Writing unit tests:
+ To write unit tests, you need to link against cppunitXX.lib, where
+ XX is the chosen configuration suffix letters.
+ CppUnit include directory must be in the include search path.
+ You can do that by adding the include directory in
+ Project Settings/C++/Preprocessor/Additional include directories,
+ or Tools/Options/Directories/Include.
+
+ Quick steps:
+ - link lib/cppunitXX.lib
+ - include/ must be in the include search path
+
+* Using the TestRunner GUI:
+ To use the test runner GUI you need to link against testrunnerXX.lib
+ and cppunitXX.lib, where XX is the chosen configuration suffix
+ letters. testrunner.dll must be in the path when your program is
+ run (the Debug/Release directory, your project dsp directory, or
+ in a directory specified in the PATH environment variable).
+ One of the easiest way to do that is to either add a post-build
+ command or add the testrunner.dll which is in the lib/ directory
+ to your project and define a custom build step that copy the
+ dll to your "Intermediate" directory (Debug or Release usually).
+
+ Since the TestRunner GUI is a MFC extension DLL, it can access
+ the CWinApp of the using application. Settings are stored using
+ the application registry key. That means that "most recently used
+ test" settings are different for each application.
+
+ Quick steps:
+ - link lib/cppunitXX.lib and lib/testrunnerXX.lib
+ - include/ must be in the include search path
+ - lib/testrunnerXX.dll must be available to run your project
diff --git a/INSTALL-unix b/INSTALL-unix new file mode 100644 index 0000000..6a4a5cc --- /dev/null +++ b/INSTALL-unix @@ -0,0 +1,106 @@ +See the file INSTALL for basic instructions. A short explanation for +each non-standard configure option follows. + + System Notes + ------------ + +cygwin +------ + +We have a number of reports that the shared library fails to +build properly. This may manifest itself as a failure to +build and run the test suite ("make check"). + +The workaround is to build a static library only. Configure using + + ./configure --disable-shared + +Then build normally. + + + +DEC alpha with cxx V6.1-029 and RogueWave STL +--------------------------------------------- + +A user reports that you have to issue the command + + export DEC_CXX="-D__USE_STD_IOSTREAM -D__STD_MS" + +in order to get ostream defined in namespace std. Otherwise, the +build reports the following error. + + Cannot define CppUnit::OStringStream + + + +If the compiler complains about 'exception', it may help to +re-run configure with + + CPPFLAGS='-U_OSF_SOURCE' + +on the configure line. Please let us know about your experiences +with this platform so that we can keep this information up-to-date. + + + +IRIX 6 / MIPSpro compiler +------------------------- + +The MIPSpro compiler requires the "-LANG:std" flag to enable the standard +C++ library. You must set the CC and CXX variable when you configure, +as follows + ./configure CC='CC -LANG:std' CXX='CC -LANG:std' + +There is a bug in released versions of libtool prevents the -LANG flag +from being properly passed during the linking stage. To check if you +have this bug, examine the output of "grep 'no.*irix' libtool". If +you see a line like "no/*-*-irix*)" then you suffer from the bug. [A +fixed version of libtool will look like "no/*-*-irix* | /*-*-irix*)".] + +If your libtool script suffers from the bug, open it in an editor, +find the first line that contains "with_gcc", and change it to +read "with_gcc=no". + +The MIPSpro version 7.30 is able to compile cppunit proper, but will +fail to compile the example testsuite. I am assuming this is due +to known bugs in the compiler (7.30 is not the latest version). +The library appears to function OK. Please let us know if you find +it otherwise. + + +Solaris/Sun CC compiler +----------------------- + +Use the following configure line: + +./configure CXX=CC CXXFLAGS="-pta -instances=static -mt +-xtarget=generic -g -features=no%transitions +-xildoff" LD=CC LDFLAGS=-xildoff + +In Forte C++ compiler for Solaris all the linking has to go via +CC and ar, ld should not be run directly. For archive use CC -xar and +for linking and generating the .so use CC -G + +Notes: CC 5.5 don't need that much flag to compile correctly. Though, I'm not +sure what are the required one. + + +AIX +--- + +./configure --disable-shared + +The autogen tools don't seem to generate correctly script to handle dynamic linking. +If anyone know how to get it working, please contact us. + + +HP-UX +----- +Use the following options with configure to +enable the use of aCC and cc for the compilation of +CppUnit: +./configure --enable-hpuxshl CC=cc CXX=aCC CXXFLAGS="-AA" + +AA sets all the necessary flags to enable namespaces, +stl v2,.... + diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..90c6a1c --- /dev/null +++ b/Makefile.am @@ -0,0 +1,78 @@ +ACLOCAL_AMFLAGS = -I m4 + +.PHONY: release rpm docs doc-dist distclean-local dist-hook + +SUBDIRS = src include examples doc + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = cppunit.pc + +doc_DATA = \ + BUGS \ + INSTALL \ + INSTALL-unix \ + INSTALL-WIN32.txt \ + CodingGuideLines.txt \ + AUTHORS \ + doc/FAQ +docinternal = \ + doc/cookbook.dox \ + doc/other_documentation.dox \ + doc/header.html \ + doc/footer.html \ + doc/Money.dox \ + doc/CppUnit-win.dox \ + doc/makedox.bat + +m4dir = $(datadir)/aclocal +m4_DATA = + +m4internal = \ + m4/ac_cxx_have_strstream.m4 \ + m4/ac_cxx_string_compare_string_first.m4 \ + m4/ac_dll.m4 \ + m4/ax_cxx_gcc_abi_demangle.m4 \ + m4/ax_cxx_have_sstream.m4 \ + m4/ax_cxx_namespaces.m4 \ + m4/ax_cxx_compile_stdcxx_11.m4 \ + m4/ax_prefix_config_h.m4 \ + m4/bb_enable_doxygen.m4 \ + m4/README + +unusedfolders = + +EXTRA_DIST = \ + autogen.sh \ + contrib \ + examples \ + lib/.keepme \ + $(pkgconfig_DATA) \ + $(man_MANS) \ + $(doc_DATA) \ + $(m4_DATA) \ + $(m4internal) \ + $(docinternal) \ + $(unusedfolders) + + +dist-hook: + git log --date=short --pretty="format:@%cd %an <%ae> [%H]%n%n%s%n%n%e%b" | sed -e "s|^\([^@]\)|\t\1|" -e "s|^@||" >$(distdir)/ChangeLog + perl -pi -e 's/\n/\r\n/g' `find $(distdir) -name '*.ds?'` \ + $(distdir)/contrib/msvc/* \ + $(distdir)/INSTALL-WIN32.txt + +release: + $(MAKE) distcheck + +rpm: dist + rpmbuild -ta $(PACKAGE)-$(VERSION).tar.xz + @rm -f $(PACKAGE)-$(VERSION).tar.xz + +doc-dist: + $(MAKE) -C doc doc-dist + mv -f doc/$(PACKAGE)-docs-$(VERSION).tar.xz . + +distclean-local: + rm -rf *.cache *~ $(PACKAGE)*.tar.* + +DISTCLEANFILES = _configs.sed diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..45e1f36 --- /dev/null +++ b/Makefile.in @@ -0,0 +1,1022 @@ +# Makefile.in generated by automake 1.16.1 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2018 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/ac_cxx_have_strstream.m4 \ + $(top_srcdir)/m4/ac_cxx_string_compare_string_first.m4 \ + $(top_srcdir)/m4/ac_dll.m4 \ + $(top_srcdir)/m4/ax_cxx_compile_stdcxx_11.m4 \ + $(top_srcdir)/m4/ax_cxx_gcc_abi_demangle.m4 \ + $(top_srcdir)/m4/ax_cxx_have_sstream.m4 \ + $(top_srcdir)/m4/ax_cxx_namespaces.m4 \ + $(top_srcdir)/m4/ax_prefix_config_h.m4 \ + $(top_srcdir)/m4/bb_enable_doxygen.m4 \ + $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \ + $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \ + $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ + $(am__configure_deps) $(am__DIST_COMMON) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = cppunit.pc cppunit.spec +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ + ctags-recursive dvi-recursive html-recursive info-recursive \ + install-data-recursive install-dvi-recursive \ + install-exec-recursive install-html-recursive \ + install-info-recursive install-pdf-recursive \ + install-ps-recursive install-recursive installcheck-recursive \ + installdirs-recursive pdf-recursive ps-recursive \ + tags-recursive uninstall-recursive +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +am__installdirs = "$(DESTDIR)$(docdir)" "$(DESTDIR)$(m4dir)" \ + "$(DESTDIR)$(pkgconfigdir)" +DATA = $(doc_DATA) $(m4_DATA) $(pkgconfig_DATA) +RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ + distclean-recursive maintainer-clean-recursive +am__recursive_targets = \ + $(RECURSIVE_TARGETS) \ + $(RECURSIVE_CLEAN_TARGETS) \ + $(am__extra_recursive_targets) +AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ + cscope distdir distdir-am dist dist-all distcheck +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ + $(LISP)config.h.in +# Read a list of newline-separated strings from the standard input, +# and print each of them once, without duplicates. Input order is +# *not* preserved. +am__uniquify_input = $(AWK) '\ + BEGIN { nonempty = 0; } \ + { items[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in items) print i; }; } \ +' +# Make sure the list of sources is unique. This is necessary because, +# e.g., the same source file might be shared among _SOURCES variables +# for different programs/libraries. +am__define_uniq_tagged_files = \ + list='$(am__tagged_files)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | $(am__uniquify_input)` +ETAGS = etags +CTAGS = ctags +CSCOPE = cscope +DIST_SUBDIRS = $(SUBDIRS) +am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ + $(srcdir)/cppunit.pc.in $(srcdir)/cppunit.spec.in AUTHORS \ + COPYING INSTALL NEWS README THANKS TODO compile config.guess \ + config.sub depcomp install-sh ltmain.sh missing +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + if test -d "$(distdir)"; then \ + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -rf "$(distdir)" \ + || { sleep 5 && rm -rf "$(distdir)"; }; \ + else :; fi +am__post_remove_distdir = $(am__remove_distdir) +am__relativize = \ + dir0=`pwd`; \ + sed_first='s,^\([^/]*\)/.*$$,\1,'; \ + sed_rest='s,^[^/]*/*,,'; \ + sed_last='s,^.*/\([^/]*\)$$,\1,'; \ + sed_butlast='s,/*[^/]*$$,,'; \ + while test -n "$$dir1"; do \ + first=`echo "$$dir1" | sed -e "$$sed_first"`; \ + if test "$$first" != "."; then \ + if test "$$first" = ".."; then \ + dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ + dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ + else \ + first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ + if test "$$first2" = "$$first"; then \ + dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ + else \ + dir2="../$$dir2"; \ + fi; \ + dir0="$$dir0"/"$$first"; \ + fi; \ + fi; \ + dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ + done; \ + reldir="$$dir2" +DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 $(distdir).tar.xz +GZIP_ENV = --best +DIST_TARGETS = dist-xz dist-bzip2 dist-gzip +distuninstallcheck_listfiles = find . -type f -print +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AR = @AR@ +AS = @AS@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CPPUNIT_BINARY_AGE = @CPPUNIT_BINARY_AGE@ +CPPUNIT_CXXFLAGS = @CPPUNIT_CXXFLAGS@ +CPPUNIT_INTERFACE_AGE = @CPPUNIT_INTERFACE_AGE@ +CPPUNIT_MAJOR_VERSION = @CPPUNIT_MAJOR_VERSION@ +CPPUNIT_MICRO_VERSION = @CPPUNIT_MICRO_VERSION@ +CPPUNIT_MINOR_VERSION = @CPPUNIT_MINOR_VERSION@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +DLLTOOL = @DLLTOOL@ +DOT = @DOT@ +DOXYGEN = @DOXYGEN@ +DSYMUTIL = @DSYMUTIL@ +DUMPBIN = @DUMPBIN@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FGREP = @FGREP@ +GREP = @GREP@ +HAVE_CXX11 = @HAVE_CXX11@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LD = @LD@ +LDFLAGS = @LDFLAGS@ +LIBADD_DL = @LIBADD_DL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LIBTOOL = @LIBTOOL@ +LIPO = @LIPO@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +LT_AGE = @LT_AGE@ +LT_CURRENT = @LT_CURRENT@ +LT_RELEASE = @LT_RELEASE@ +LT_REVISION = @LT_REVISION@ +LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ +MAKEINFO = @MAKEINFO@ +MANIFEST_TOOL = @MANIFEST_TOOL@ +MKDIR_P = @MKDIR_P@ +NM = @NM@ +NMEDIT = @NMEDIT@ +OBJDUMP = @OBJDUMP@ +OBJEXT = @OBJEXT@ +OTOOL = @OTOOL@ +OTOOL64 = @OTOOL64@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +RANLIB = @RANLIB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +VERSION = @VERSION@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_AR = @ac_ct_AR@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +enable_dot = @enable_dot@ +enable_html_docs = @enable_html_docs@ +enable_latex_docs = @enable_latex_docs@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +ACLOCAL_AMFLAGS = -I m4 +SUBDIRS = src include examples doc +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = cppunit.pc +doc_DATA = \ + BUGS \ + INSTALL \ + INSTALL-unix \ + INSTALL-WIN32.txt \ + CodingGuideLines.txt \ + AUTHORS \ + doc/FAQ + +docinternal = \ + doc/cookbook.dox \ + doc/other_documentation.dox \ + doc/header.html \ + doc/footer.html \ + doc/Money.dox \ + doc/CppUnit-win.dox \ + doc/makedox.bat + +m4dir = $(datadir)/aclocal +m4_DATA = +m4internal = \ + m4/ac_cxx_have_strstream.m4 \ + m4/ac_cxx_string_compare_string_first.m4 \ + m4/ac_dll.m4 \ + m4/ax_cxx_gcc_abi_demangle.m4 \ + m4/ax_cxx_have_sstream.m4 \ + m4/ax_cxx_namespaces.m4 \ + m4/ax_cxx_compile_stdcxx_11.m4 \ + m4/ax_prefix_config_h.m4 \ + m4/bb_enable_doxygen.m4 \ + m4/README + +unusedfolders = +EXTRA_DIST = \ + autogen.sh \ + contrib \ + examples \ + lib/.keepme \ + $(pkgconfig_DATA) \ + $(man_MANS) \ + $(doc_DATA) \ + $(m4_DATA) \ + $(m4internal) \ + $(docinternal) \ + $(unusedfolders) + +DISTCLEANFILES = _configs.sed +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive + +.SUFFIXES: +am--refresh: Makefile + @: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @test -f $@ || rm -f stamp-h1 + @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +cppunit.pc: $(top_builddir)/config.status $(srcdir)/cppunit.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +cppunit.spec: $(top_builddir)/config.status $(srcdir)/cppunit.spec.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool config.lt +install-docDATA: $(doc_DATA) + @$(NORMAL_INSTALL) + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ + done + +uninstall-docDATA: + @$(NORMAL_UNINSTALL) + @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir) +install-m4DATA: $(m4_DATA) + @$(NORMAL_INSTALL) + @list='$(m4_DATA)'; test -n "$(m4dir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(m4dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(m4dir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(m4dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(m4dir)" || exit $$?; \ + done + +uninstall-m4DATA: + @$(NORMAL_UNINSTALL) + @list='$(m4_DATA)'; test -n "$(m4dir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(m4dir)'; $(am__uninstall_files_from_dir) +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + if test -n "$$list"; then \ + echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ + fi; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) + +# This directory's subdirectories are mostly independent; you can cd +# into them and run 'make' without going through this Makefile. +# To change the values of 'make' variables: instead of editing Makefiles, +# (1) if the variable is set in 'config.status', edit 'config.status' +# (which will cause the Makefiles to be regenerated when you run 'make'); +# (2) otherwise, pass the desired values on the 'make' command line. +$(am__recursive_targets): + @fail=; \ + if $(am__make_keepgoing); then \ + failcom='fail=yes'; \ + else \ + failcom='exit 1'; \ + fi; \ + dot_seen=no; \ + target=`echo $@ | sed s/-recursive//`; \ + case "$@" in \ + distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ + *) list='$(SUBDIRS)' ;; \ + esac; \ + for subdir in $$list; do \ + echo "Making $$target in $$subdir"; \ + if test "$$subdir" = "."; then \ + dot_seen=yes; \ + local_target="$$target-am"; \ + else \ + local_target="$$target"; \ + fi; \ + ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ + || eval $$failcom; \ + done; \ + if test "$$dot_seen" = "no"; then \ + $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ + fi; test -z "$$fail" + +ID: $(am__tagged_files) + $(am__define_uniq_tagged_files); mkid -fID $$unique +tags: tags-recursive +TAGS: tags + +tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + set x; \ + here=`pwd`; \ + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ + include_option=--etags-include; \ + empty_fix=.; \ + else \ + include_option=--include; \ + empty_fix=; \ + fi; \ + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + test ! -f $$subdir/TAGS || \ + set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ + fi; \ + done; \ + $(am__define_uniq_tagged_files); \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: ctags-recursive + +CTAGS: ctags +ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) + $(am__define_uniq_tagged_files); \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" +cscope: cscope.files + test ! -s cscope.files \ + || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) +clean-cscope: + -rm -f cscope.files +cscope.files: clean-cscope cscopelist +cscopelist: cscopelist-recursive + +cscopelist-am: $(am__tagged_files) + list='$(am__tagged_files)'; \ + case "$(srcdir)" in \ + [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ + *) sdir=$(subdir)/$(srcdir) ;; \ + esac; \ + for i in $$list; do \ + if test -f "$$i"; then \ + echo "$(subdir)/$$i"; \ + else \ + echo "$$sdir/$$i"; \ + fi; \ + done >> $(top_builddir)/cscope.files + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + -rm -f cscope.out cscope.in.out cscope.po.out cscope.files + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" = .; then :; else \ + $(am__make_dryrun) \ + || test -d "$(distdir)/$$subdir" \ + || $(MKDIR_P) "$(distdir)/$$subdir" \ + || exit 1; \ + dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ + $(am__relativize); \ + new_distdir=$$reldir; \ + dir1=$$subdir; dir2="$(top_distdir)"; \ + $(am__relativize); \ + new_top_distdir=$$reldir; \ + echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ + echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ + ($(am__cd) $$subdir && \ + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$$new_top_distdir" \ + distdir="$$new_distdir" \ + am__remove_distdir=: \ + am__skip_length_check=: \ + am__skip_mode_fix=: \ + distdir) \ + || exit 1; \ + fi; \ + done + $(MAKE) $(AM_MAKEFLAGS) \ + top_distdir="$(top_distdir)" distdir="$(distdir)" \ + dist-hook + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz + $(am__post_remove_distdir) +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 + $(am__post_remove_distdir) + +dist-lzip: distdir + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz + $(am__post_remove_distdir) +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz + $(am__post_remove_distdir) + +dist-tarZ: distdir + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__post_remove_distdir) + +dist-shar: distdir + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz + $(am__post_remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__post_remove_distdir) + +dist dist-all: + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' + $(am__post_remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lz*) \ + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir) + chmod u+w $(distdir) + mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build/sub \ + && ../../configure \ + $(AM_DISTCHECK_CONFIGURE_FLAGS) \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + --srcdir=../.. --prefix="$$dc_install_base" \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__post_remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @test -n '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: trying to run $@ with an empty' \ + '$$(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + $(am__cd) '$(distuninstallcheck_dir)' || { \ + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ + exit 1; \ + }; \ + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-recursive +all-am: Makefile $(DATA) config.h +installdirs: installdirs-recursive +installdirs-am: + for dir in "$(DESTDIR)$(docdir)" "$(DESTDIR)$(m4dir)" "$(DESTDIR)$(pkgconfigdir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-recursive +install-exec: install-exec-recursive +install-data: install-data-recursive +uninstall: uninstall-recursive + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-recursive +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-recursive + +clean-am: clean-generic clean-libtool mostlyclean-am + +distclean: distclean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -f Makefile +distclean-am: clean-am distclean-generic distclean-hdr \ + distclean-libtool distclean-local distclean-tags + +dvi: dvi-recursive + +dvi-am: + +html: html-recursive + +html-am: + +info: info-recursive + +info-am: + +install-data-am: install-docDATA install-m4DATA install-pkgconfigDATA + +install-dvi: install-dvi-recursive + +install-dvi-am: + +install-exec-am: + +install-html: install-html-recursive + +install-html-am: + +install-info: install-info-recursive + +install-info-am: + +install-man: + +install-pdf: install-pdf-recursive + +install-pdf-am: + +install-ps: install-ps-recursive + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-recursive + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-recursive + +mostlyclean-am: mostlyclean-generic mostlyclean-libtool + +pdf: pdf-recursive + +pdf-am: + +ps: ps-recursive + +ps-am: + +uninstall-am: uninstall-docDATA uninstall-m4DATA \ + uninstall-pkgconfigDATA + +.MAKE: $(am__recursive_targets) all install-am install-strip + +.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ + am--refresh check check-am clean clean-cscope clean-generic \ + clean-libtool cscope cscopelist-am ctags ctags-am dist \ + dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \ + dist-tarZ dist-xz dist-zip distcheck distclean \ + distclean-generic distclean-hdr distclean-libtool \ + distclean-local distclean-tags distcleancheck distdir \ + distuninstallcheck dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-docDATA install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-m4DATA install-man install-pdf \ + install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ + install-strip installcheck installcheck-am installdirs \ + installdirs-am maintainer-clean maintainer-clean-generic \ + mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ + ps ps-am tags tags-am uninstall uninstall-am uninstall-docDATA \ + uninstall-m4DATA uninstall-pkgconfigDATA + +.PRECIOUS: Makefile + + +.PHONY: release rpm docs doc-dist distclean-local dist-hook + +dist-hook: + git log --date=short --pretty="format:@%cd %an <%ae> [%H]%n%n%s%n%n%e%b" | sed -e "s|^\([^@]\)|\t\1|" -e "s|^@||" >$(distdir)/ChangeLog + perl -pi -e 's/\n/\r\n/g' `find $(distdir) -name '*.ds?'` \ + $(distdir)/contrib/msvc/* \ + $(distdir)/INSTALL-WIN32.txt + +release: + $(MAKE) distcheck + +rpm: dist + rpmbuild -ta $(PACKAGE)-$(VERSION).tar.xz + @rm -f $(PACKAGE)-$(VERSION).tar.xz + +doc-dist: + $(MAKE) -C doc doc-dist + mv -f doc/$(PACKAGE)-docs-$(VERSION).tar.xz . + +distclean-local: + rm -rf *.cache *~ $(PACKAGE)*.tar.* + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: @@ -0,0 +1,1270 @@ + New in CppUnit 1.15.0: + --------------------- + +* Portability: + + - Fix Wdefaulted-function-deleted warning with clang + + - Remove old Visual Studio project files + + New in CppUnit 1.15.0: + --------------------- + + - Report (un)signed character as intergers + + - add CPPUNIT_TEST_FIXTURE() + + - add message_to_string trait to allow custom string formatters + +* Portability: + - Fix build with gcc 9 + + - Fix various compiler warnings + + New in CppUnit 1.14.0: + --------------------- + + - TestCaller supports any callable that can be put into + std::function<void()>. + + - CPPUNIT_TEST_PARAMETERIZED executes a test for any value in + an iteratable. + + - Added new Assertion macros: ASSERT_LESS, ASSERT_GREATER, + ASSERT_LESSEQUAL, ASSERT_GREATEREQUAL + +* Portability: + - Always build with C++11. + + - Always require RTTI support. + + - Removed support for compilers that don't support + default template arguments with standard containers. + + - Removed portability headers for wrapper around + standard containers. + + - Support C++11 enum class in asserter. + +* Test Plug-in Runner: + - Fixed crash on Win64 in test runner (fdo#81433) + +* Removed features + + - QT test runner + + - msvc6 test runners + + - msvc6 plugin + + - BeOS support + + New in CppUnit 1.13.2: + --------------------- + +* Portability: + - Supports 64 bit build on windows + + - Report errors from dlopen and dlclose through dlerror on + unix/linux. + + New in CppUnit 1.13.1: + --------------------- + +* Portability: + - Use portable way to use free (fdo#52536) + + - Prevent crash when demangling fails with gcc (fdo#52539) + + New in CppUnit 1.13.0: + ---------------------- + +* Portability: + - Added support for macro CPPUNIT_UNIQUE_COUNTER to config-*.h. It + should expands to a unique number per translation unit. Default + to __LINE__ if not defined. Use __COUNTER__ on MSVS 7.0+. + (Bug #2031696) + +* Compilation + + - destructor of Message causes segfault when testing (rhbz#641350) + + - use correct CPPUNIT_VERSION value (sf#2983798) + + - allow -Werror builds + (various Libreoffice patches) + + - finite in "ieeefp.h" instead of math.h on Solaris (sf#2912590) + + - Fixed compilation issue with Microsoft Visual Studio.Net 2005/2008 and + added Visual Studio 2005/2010 projects (.vcproj/.vcxproj) + + - Changes to build without warnings using gcc -Wall -W -ansi + (patch #1898225 contributed by dpkatz) + + - Libraries flags such as "-ldl" are now in LDADD instead of LIBADD_DL + ( patch #2807259 contributed by Jan Echternach). + + - Fixed detection of cxxabi.h with gcc 4.3 in configure (bug #2796543). + + - made TestCaseDecorator copy c'tor and operator= private (fdo#51317) + +* Documentation + + - Updated several false documentation entries (sf#2185407, sf#2186611) + +* Test Plug-in Runner: + - fixed memory leak in TestPlugInRunnerDlg (#1721408) + + + New in CppUnit 1.12.1: + ---------------------- + +* Assertion: + + - CPPUNIT_ASSERT_DOUBLES_EQUAL() now properly handles non-finite + values, specifically NaN, +Inf, and -Inf. + +* Portability: + + - Fixed some compilation issue for QtTestRunner. + - Code should build on Windows in UNICODE mode. + + New in CppUnit 1.12.0: + ---------------------- + +* Portability: + + - autogen.sh can now be run on Mac OS X (patch #1449380 + contributed by Sander Temme). + +* MFC Test runner: + + - fixed bug #1498175: double click on failure would sometime + not goto failed assertion in visual studio. + +* Documentation: + + - now generated with doxygen 1.4.7 new 'tabs' style. + + + New in CppUnit 1.11.4: + ---------------------- + + +* Portability: + + - Support for Embedded Visual C++ 4 added. For this purpose, CppUnit now + provides a very simple stream implementation if none is provided. + This should also help porting on other platforms which have STL but + no stream support. Just make sure that CPPUNIT_NO_STREAM is defined + to 1 in your config header. + +* Assertion: + + - Added missing _MESSAGE variants for the following assertions: + + CPPUNIT_ASSERT_DOUBLES_EQUAL_MESSAGE + CPPUNIT_ASSERT_THROW_MESSAGE + CPPUNIT_ASSERT_NO_THROW_MESSAGE + CPPUNIT_ASSERT_ASSERTION_FAIL_MESSAGE + CPPUNIT_ASSERT_ASSERTION_PASS_MESSAGE + + Notes: change made to CPPUNIT_ASSERT_THROW may cause compilation error + if you're expecting std::exception as it would be caught twice. Contact us + if it is an issue (we don't see much use for such a test). + + Some assertions failure message are now more detailed (exception, + expression). + Thanks to Neil Ferguson who contributed this patch. + + - Assertion on real number now output expected and actual value using the + maximum available precision instead of the previous strategy of rounding + to 6 digits. + + Thanks to Neil Ferguson who contributed this patch. + +* Outputter: + + - XML Ouputter: patch #997006 contributed by Akos Maroy makes the + 'stand-alone' attribute of the XML header optional. + See XmlOutputter::setStandalone() & XmlDocument::setStandalone(). + + - Better integration of compiler output for gcc on Mac OS X with Xcode + (contributed by Claus Broch). + +* MFC Test Runner + + - Integration with VC++ 7.0 & 7.1. Double clicking on a failure will now + to the failure location in the open IDE (no add-in necessary). + This was contributed by Max Quatember and Andreas Pfaffenbichler. + + - Progress bar: now use system color to draw border + (patch from bug #1165875 contributed by Pieter Van Dyck). + +* QT Test Runner + + - Fixed display of multi-line messages (patch contributed by Karol Szkudlarek). + +* Compilation: + + - The standard pkg-config file is now generated on unix (contributed by + Robert Leight). + + - MinGW: patch #1024428 contributed by astar, fixed compilation issue in + Win32DynamicLibraryManager.cpp. + + - MinGW, cygwin: enable build of shared library when using libtool. + patch #1194394 contributed by Stéphane Fillod. + + - autotool: applied patch #1076398 contributed by Henner Sudek. Quote: + "This patch allows AM_PATH_CPPUNIT to accept version + numbers without minor and micro version. + Now you can do: + AM_PATH_CPPUNIT(1.9) + instead of + AM_PATH_CPPUNIT(1.9.0)" + + - Visual Studio 2005: removed deprecated warning. + +* Documentation: + + - Corrected many typos in cookbook and money example. Thanks to all + those who helped ! + +* Bug Fix: + + - cppunit.m4: patch #946302, AM_PATH_CPPUNIT doesn't report result + if CppUnit is missing. + + - Message/SourceLine: copy constructor have been specifically implemented + to ensure they are thread-safe even if std::string copy constructor + is not (usually on reference count based implementation). + + - TestResultCollector: fixed memory leak occuring when calling reset(). + +* Contrib: + + - added XSLT for compatibility with Ant junit xml formatter. + Patch #1112053 contributed by Norbert Barbosa. + See xml-xsl/cppunit2junit.xsl and cppunit2junit.txt for details. + + - xml-xsl/report.xsl has been fixed to work with current xml output. + +* (Possible) Compatiblity break: + + - All text output is now done on cout() instead of sometime cerr & + sometime cout depending on the component. + + - OStringStream definition has been removed from Portability.h. This + means that <sstream> is no longer included, and that ostringstream and + string might not be defined. In practice this should have no impact + since those includes have been moved to other CppUnit headers. + +* Notes: + + - CppUnit now uses the alias OStream when refering to std::ostream for + portability. + + + + New in CppUnit 1.10.2: + ---------------------- + +* Bug Fix: + + - Memory checker: bug #938753, array bound read in + splitPathString() with substr if an empty string is passed. + + - Memory leaks: bug #952912, many memory leaks removed in the + MFC test plug-in runner. + + - Crash when using CPPUNIT_TEST_SUITE_REGISTRATION with cppunit dll. + Bug #921843. This bug was caused by a known STL bug in VC++ 6. + See http://www.dinkumware.com/vc_fixes.html <xtree> issue with shared + std::map in dll. + +* Compilation: + + - mingw & cigwin, bug #930338 & #945737 fixed. + + - make install does not work on SunOS. Bug #940650 fixed. + + - bug #933154, post-build step fails in directory with spaces + with Visual C++. + + - DllPlugInTester, bug #941625 (char * string literal). Applied patch + contribued by Curt Arnold. + + + New in CppUnit 1.10.0 (same as 1.9.14): + -------------------------------------- + +* Assertions + + - Ported exception assertion macros from cppunit 2 to the 1.9.x series: + CPPUNIT_ASSERT_THROW, CPPUNIT_ASSERT_NO_THROW, + CPPUNIT_ASSERT_ASSERTION_FAIL, CPPUNIT_ASSERT_ASSERTION_PASS. + +* Deprecated: + + - The helper macros: CPPUNIT_TEST_FAIL & CPPUNIT_TEST_EXCEPTION have + been deprecated. Use the new exception assertion macros instead. + +* Bug Fix: + + - cppunit-config: bug #903363, missing -ldl from the output of + cppunit-config --libs. Fixed thanks Eric Blossom patch. + + - test plug-in(unix): Adding RTLD_GLOBAL allows test plug-ins + to provide symbols to shared objects they load themselves. + Thanks goes to Gareth Sylvester for this patch (#816563). + + + New in CppUnit 1.9.12: + --------------------- + +* Test Plug-in + + - added support contributed support for UNIX systems that + have libdld and not libdl (e.g. hp-ux). Contributed by + Abdessattar Sassi. + +* RTTI + + - TypeInfoHelper now used gcc c++ abi to demangle typeinfo name thanks to + Neil Ferguson contribution. + +* Bug Fix: + + - MFC TestRunner: integrated bug fix from Tim Threlkeld for bug + #610191 and #610162. Fixed assertion when minizing dialog + (bug #643612). + + - XMLOutputter: Fixed bug #676505: no space inserted between attributes + of XmlElement. + + - CppUnit portability: fixed many mistakes relating to compilation + without type info or namespace reported by Philip Craig. + + - Missing destructor with no throw specification for + DynamicLibraryManagerException. Bug #619059. + + - Fixed missing export for operator <<(TextTestResult). Bug #610119. + + - Missing include for typeinfo in TestNamer.h. Bug #662666. + +* Compilation + + - Fixed compilation issues for Borland C++ 6 and STLPort. Bug #694971, + #699794 and #662666. + + - Fixed compilation issues for AIX. + + - Fixed compilation issues for Visual C++ .NET 2002. + + - Fixed doxygen usage in mingw environment (space not allowed in + doxygen path). Bug #700730. + + - Fixed compilation issue for mingw (bug #711583). + + + New in CppUnit 1.9.10: + --------------------- + + - Major portability improvement + - Protector + - HelperMacros + - MFC TestRunner bug fixes + - Failure diagnostic + - Asserter + +* Major portability improvement: + + - Much work has been done to reduce C++ feature requirement to compile + CppUnit. It should now be possible to compile CppUnit on most + compilers, as long as STL are available (in std namespace or not), + with some form of strstream and iostream, as well as exception support. + See CodingGuideLines.txt for details. + +* Protector + + - Protector can be passed to the TestResult to 'protect' call to + setUp(), runTest() and tearDown() method. With this, it is easy to + capture exceptions which do not have std::exception as a base class, + such as CException or RWXMsg for example. TestResult and Protector + class documentation. Look at src/cppunit/DefaultProtector.cpp for + an example of implementation. + +* Helper macros + + - Mostly rewritten. It no longer use TestSuiteBuilder. A new object + TestSuiteBuilderContext was introduced. It is used to name test case, + create test fixture instance and add test to the fixture suite. It + is now much more easier to add custom test cases using + CPPUNIT_TEST_SUITE_ADD_CUSTOM_TESTS. Should also prevent most + compability break concerning that macro. + + - Useful typedef are now public: TestFixtureType, ParentTestFixtureType. + + - New typedef for custom test method parameter: + typedef TestSuiteBuilderContext<TestFixtureType> + TestSuiteBuilderContextType; + + - added support for abstract test fixture with + CPPUNIT_TEST_SUITE_END_ABSTRACT(). See documentation for further + detail. + +* Failure diagnostic + + - setUp() and tearDown() now provides a detailed diagnostic of the + failure (assertion, exception...) + + - If RTTI is allowed to extract type info, CppUnit will report the + actual exception type in the diagnostic. + +* Asserter: + + - A new AdditionalMessage class has been introduced. It is used for + assertion that takes an additional 'message' argument + (CPPUNIT_ASSERT_MESSAGE...). Since this macro has an implicit + constructor that take a string, which creates a Message with the + specified string as detail. That way, additional message can be a + single string or a complex Message object. See documentation for + example of use. + +* Bug Fix: + + - MFC TestRunner: bug #530426 (conflict between TestRunner and host + application's resources). A huge thanks to Steven Mitter for that one. + + - MFC TestRunner: Browse button is now disabled while running test. + +* Deprecated + + - CppUnit::TextUi::TestRunner moved to CppUnit::TextTestRunner. + - CppUnit::MfcUi::TestRunner moved to CppUnit::MfcTestRunner. + - CppUnit::QtUi::TestRunner moved to CppUnit::QtTestRunner. + +* Compatiblity break: + + - CppUnitTextUi::TestRunner, removed runTestByName() and runTest(). + - TestSuiteBuilder: removed templatized method + addTestCallerForException(). See implementation of + CPPUNIT_TEST_EXCEPTION implementation for an alternative. + - TestAssert: removed deprecated functions (those not using SourceLine) + assertImplementation(), assertNotEqualImplementation(), + assertEquals(). Moved non deprecated functions assertEquals() and + assertEquals() into CppUnit namespace. + - Plug-ins 'Parameters' typedef has been replaced by class + PlugInParameters. The method commandLine() returns what used to be in + Parameters[0]. This should avoid future compatibility break when the + parameters passing API will be defined. + - TestPlugIn::initialize() now takes a PlugInParameters in argument + instead of a Parameters. + - template <class T> void assertEquals() no longer has a default message + value (no impact, unless you used this function directly instead of + assertion macros). + - HelperMacros: renamed CPPUNIT_TEST_ADD to + CPPUNIT_TEST_SUITE_ADD_TEST. + - HelperMacros: removed CPPUNIT_TEST_CUSTOM. Instead use + CPPUNIT_TEST_SUITE_ADD_CUSTOM_TESTS and call context.addTest() + passing the test that was returned. + - HelperMacros: renamed CPPUNIT_TEST_CUSTOMS to + CPPUNIT_TEST_SUITE_ADD_CUSTOM_TESTS. Changed method signature to + static void aMethodName( TestSuiteBuilderContextType &context ). + You can replace the 3 previous parameters by context. (See + documentation for further detail). + + + + New in CppUnit 1.9.8: + --------------------- + + - New custom test macros for fixture suite + - Exception message are now structured + - Added detail field to MFC TestRunner + - New XmlDocument class to easily create new XML output format + - XmlOutputter customization + - Test plug-in XMLOutputter hook + - ClockerPlugIn example includes test time in XML output + - DllPlugInTester allows test plug-in to hook the XmlOutputter + - Configurable CompilerOutputter wrapping + +* New custom test macros + + - 3 new macros have been added for use when declaring test fixture suite: + - CPPUNIT_TEST_CUSTOM : to specify a method that returns an instance of + Test to add to the suite + - CPPUNIT_TEST_CUSTOM : to specify a method that add some tests to the + suite + - CPPUNIT_TEST_ADD : to add a test to the suite. Used this to create custom + CPPUNIT_TEST_xxx macros. + + See macros documentation for examples and details. + +* Exception message + + - Exception message are now stored in a Message object instead of a string. + A message is composed of two items: + - a short description (~20/30 characters) + - a list of detail strings + + The short description is used to indicate how the detail strings should be + interpreted. It usually indicates the failure types, such as + "assertion failed", "forced failure", "unexpected exception caught", + "equality assertion failed"... It should not contains new line characters + (\n). + + Detail strings are used to provide more information about the failure. It + can contains the asserted expression, the expected and actual values in an + equality assertion, some addional messages... Detail strings can contains + new line characters (\n). + + This change allow ouputters to deal with all failure the same way (there is + no special case for the equality assertion any more). + +* New XmlDocument class to easily create new XML output format + + - Classes XmlDocument and XmlElement where extracted from XmlOutputter. This + help writing outputters that use a completly different XML format. + + - XmlDocument represents a XML file, and XmlElement represents a XML element. + +* XmlOutputter customization + + - Xml output can be customized using XmlOutputterHook. To do so, subclass + XmlOutputterHook and register it to the XmlOutputter with addHook() before + call XmlOutputter::write(). + + Hook can be used to add some datas to the XmlDocument or the XmlElement of + a specific hook. Methods have been added to XmlElement to help navigating + and modifying the XmlDocument. + + See ClockerPlugIn example. + +* MFC TestRunner + + - The name of the test is displayed just before being run. + - Browse Test Hierarchy dialog is resizable. + - Better (and cleaner) handling of windows resizing + - Failure list now only show the short description of the failure. + - Edit field added to display the details of the selected failure. + +* MFC test plug-in runner (TestPlugInRunner): + + - command line: a dll name can be specified on the command after -testsuite: + example: TestPlugInRunnerd.exe -testsuite Simpled.dll + + - Layout configuration is stored/restored. + +* Test plug-in XML output Hook + + - TestPlugIn interface provides a mean for plug-in to register hook for + XML output. Practically, this allow plug-in to add specific data to the + output. See ClockerPlugIn example, which add timing datas to the xml + output. + +* DllPlugInTester: + + - added option -w / --wait to wait for the user to press a key before exiting. + + - plug-in can now provides XmlOutputterHook to add specific datas to the + XML ouput. See ClockerPlugIn example. + +* CompilerOutputter wrapping is parametrized + + - Wrap column can be set with setWrapColumn(). Default is now 79 instead of 80. + + - Wrapping can be disabled with setNoWrap(). + +* Examples: + + - ClockerPlugIn: the example now use the new XmlOutputterHook. Test time are + now included in the XML output. See examples/ClockerPlugIn/ReadMe.txt for + details. + +* Bug Fix: + + - CompilerOutputter: fixed wrapping issues (UT magic!) + + - DllPlugInTester: use ISO-LATIN1 encoding if none is given. Flag --xsl was + ignored. + + - MfcUi plug-in runner (TesTPlugInRunner): better handling of history when + loading and reloading a dll. + + - Qt Test Runner: minor bug fixes. Should compile on Unix. + + - XmlOutputter: use the default encoding if an empty string is given as + encoding + +* Compatibility Break: + + - CompilerOutputter: removed printNotEqualMessage() and printDefaultMessage(). + No longer needed since Exception message are processed in a generic way. + Removed wrap(). Extracted to StringTools. + + - Exception constructor takes a Message instead of a string. Notes that the + first argument in Message constructor is a short description, not the message. + Therefore, the change will usualy have the following form: + Exception( Message( "assertion failed", oldMessage ) ); + You may want to use Asserter functions instead of constructing and throwing + the exception manually. + + - TestPlugInAdapter: renamed TestPlugInDefaultImpl. + + - TestSuiteBuilder: removed default constructor. All remaining constructors + take an additional argument of type TestNamer used to specify the fixture + named and generate test case name. Remove template method + addTestCallerForException(). Use addTest() instead (see + CPPUNIT_TEST_EXCEPTION implementation). + + - TextTestResult: most printing method were removed. This task is now delegated + to TextOuputter. + + - XmlElement: renamed addNode() to addElement(). + + - XmlOutputter: removed methods writeProlog() and writeTestResult() which + are replaced by XmlDocument. Renamed makeRootNode() to setRootNode(). It + no longer returns the root node, but set the root node of the XML document. + + - XmlOuputter::Node: class has been extracted and renamed XmlElement. + +* Deprecated: + + - Asserter: all functions that use a string for the failure message. Construct + a Message instead (see Exception constructor compatiblity break and + Exception message feature). + + + New in CppUnit 1.9.6: + --------------------- + + - DllPlugInTester can be parametrized from command line + - Two test listener plug-in examples + - An 'hello world' example & getting started document : Money + - Contribution: generic makefile for Borland 5.5 free compiler. + - Bug fixes + +* DllPlugInTester: + + - Advanced command line to support miscellaneous listener outputer. + Parameters can now be passed to test plug-in: + + -c --compiler + Use CompilerOutputter + -x --xml [filename] + Use XmlOutputter (if filename is omitted, then output to cout or + cerr. + -s --xsl stylesheet + XML style sheet for XML Outputter + -e --encoding encoding + XML file encoding (UTF8, shift_jis, ISO-8859-1...) + -b --brief-progress + Use BriefTestProgressListener (default is TextTestProgressListener) + -n --no-progress + Show no test progress (disable default TextTestProgressListener) + -t --text + Use TextOutputter + -o --cout + Ouputters output to cout instead of the default cerr. + filename[="options"] + Many filenames can be specified. They are the name of the + test plug-ins to load. Optional plug-ins parameters can be + specified after the filename by adding '='. + [:testpath] + Optional. Only one test path can be specified. It must + be prefixed with ':'. See TestPath constructor for syntax. + + 'parameters' (test plug-in or XML filename, test path...) may contains + spaces if double quoted. Quote may be escaped with \". + + Some examples of command lines: +DllPlugInTesterd_dll.exe -b -x tests.xml -c simple_plugind.dll CppUnitTestPlugInd.dll + Will load 2 tests plug-ins (available in lib/), use the brief test + progress, output the result in XML in file tests.xml and also + output the result using the compiler outputter. + +DllPlugInTesterd_dll.exe ClockerPlugInd.dll="flat" -n CppUnitTestPlugInd.dll + Will load the 2 test plug-ins, and pass the parameter string "flat" + to the Clocker plug-in, disable test progress. Clocker being a test + listener plug-ins (it doesn't implements any tests, it just register + a TestListener), this is equivalent to say 'run all the test + of CppUnitTestPlugIn and use ClockerPlugIn as a TestLisener'. + +DllPlugInTesterd_dll.exe CppUnitTestPlugInd.dll :Core + Will run the test named "Core" (a suite in the present case ) of the + test plug-in. + +* Documentation + + - New getting started documentation. Not completed yet, but probably + a good complement to the current cookbook. Explore the creation + of the Money example. + +* Examples + + - Money (examples/Money): the 'hello world' example. Unit tests for + a simple Money class. + + - DllPlugInTesterTest (src/DllPlugInTester/DllPlugInTester.dsp): + unit tests for CommandLineParser. Not really an example, but only + slightly more complex than Money. + + - ClockerPlugIn (examples/ClockerPlugIn): a test listener plug-in + that track tests and test suites running time. Parameter: "flat" + for a reporting with a flattened tree. + + - DumperPlugIn (examples/DumperPlugIn): a test listener plug-in that + dump the test tree as it run. Paramater: "flat" for a reporting + with a flattened tree. + + - CppUnitTestPlugIn (examples/cppunitest/CppUnitTestPlugIn.dsp): + CppUnit's test suite as a test plug-in. + +* Contribution + + - Contributed by project cuppa team (http://sourceforge.jp/projects/cuppa/): + + - Makefile for CppUnit with Borland C++ 5.5 free compiler: does not + depend on a specific CppUnit version. + +* Compatiblity breaks + + - DllPlugInTester: (1.9.4 only), should add -c to DllPlugInTester + command line. + +* Bug Fix: + + - DynamicLibaryManager did not report the library name when loading a + a library. + + - BeosDynamicLibraryManager: fixed thanks to Shibu Yoshiki + ('cuppa' project team). + + - Broken build on Unix should be fixed for most (thanks to + Jeffrey Morgan). + + + New in CppUnit 1.9.4: + ---------------------- + + - More versatile, easier to make test plug-in. + - A PlugInManager to manage multiple test plug-ins. + - Crossplatform test plug-in runner. + - Crossplatform test plug-in example. + - A brief progress listener + - Easier test hierarchy creation + - Improved documentation. + - Tracking of test run start/end. + - Contribution: XML style sheet & borland 5.5 makefile. + - Help needed on the Unix side! + +* Buildling on Unix: + + - I did not get any feed back on the previous build issue on Unix. Using + a simple autobook example was useless to try to solve the problem. Here + is the issue: + + CppUnit library build fine, it is the example I'm having trouble with. + + Since the test plug-in have been added, CppUnit use the function + dlopen(), dlsym() and dlclose() on unix to load/unload the plug-in. + + Those functions apparently requires to link another library when + building an exectuable. Here is was should be done: + - linking against the said library for each example. + - generates the shared library for the examples/simple/simple_plugin + example (source files are ExampleTestCase.cpp, ExampleTestCase.cpp + and SimplePlugIn.cpp). + - if possible, makes the above optionnal if --disable-test-plug-in + is defined: + - don't link the dlXXX library + - don't compile the plug-in example + - add #define CPPUNIT_NO_TESTPLUGIN 1 to the config file + + Contact me on the mailing-list for more details. + +* TestPlugIn: + + - A simple fact I realised while testing: if you link your test plug-in + against the DLL version of cppunit (or shared library on Unix), then + test registered to the TestFactoryRegistry (it is what's hide behind + CPPUNIT_TEST_SUITE_REGISTRATION) are automatically shared. Changes + have been made to support that usage (CppUnit was crashing badly). + Using the TestFactoryRegistry provides much more flexiblity that + providing a single suite for the plug-in. As such: + + - CppUnit plug-in should be linked against the dll version of CppUnit library. + + - Plug-in should register their tests using the CPPUNIT_TEST_SUITE_xxx macros. + + - 'homemade' suite can still be registred to the TestFactoryRegistry that is + passed as parameter on plug-in initialization. Notes that you must + unregister those suites during plug-in uninitialization, otherwise on + destruction, the TestFactoryRegistry will attempt to destroy them... Your + plug-in would have been already unloaded... + + - Plug-in can accept parameters on initialization (notes that the Parameters + object is far from being stabilized, but whatever form it takes, it will be + a list of string). + + - Plug-in can register their one listener for a test run. This means that you + can extends 'DllPlugInTester' by creating test plug-in... This also means + than you can listen to startTestRun()/endTestRun() to do some global + setUp/tearDown (to initialize globales resources, such as COM...) + + - Why all this fuss around test plug-in ? Test plug-in are the incarnation of + an old concept: testable components... + +* PlugInManager: + + - The PlugInManager is used to load/unload plug-ins. It takes care of all + the 'plug-in' protocol and makes it easy to use multiple plug-ins at the + same time. It dispatches the addListener()/removeListener() message to + each plug-in. + +* Crossplatform test plug-in runner (src/DllPlugInRunner): + + - This application can be used to run your test plug-ins. It can load + multiple test plug-ins and run all or a specific test in the test + hierarchy returned by TestFactoryRegistry::getRegistry().makeTest(). + + - Plug-in loaded by the plug-in may also be custom TestListener. + + - It can be use for post-build check and to debug the plug-in. + + - Why use it? It keep you away from CppUnit API changes! + +* Easier test hierarchy creation (TestFactoryRegistry/HelperMacros): + + - added method addRegistry(name) to add a named registry to the registry. + see TestFactoryRegistry for an example of use. + + - added macros CPPUNIT_REGISTRY_ADD( which, to ) and + CPPUNIT_REGISTRY_ADD_TO_DEFAULT( which ) to create test hierarchy at static + initialization (in the spirit of CPPUNIT_TEST_SUITE_xxx() macros). + +* VerboseTestProgressListener: + + - A new TestListener that prints the test name before running it. Most useful when + a test crashing, mean a application crash. + +* Documentation: + + - More details about the test plug-in, how to use it, how does it works... + See module/Writing Test Plug-in. + +* Examples: + + - examAdded crossplatform simple example. Equivalent to VC++ HostApp example. + - examples/simple: a very simple example, demonstrating the use of CppUnit + with a single TestFixture. Demonstrate both how to build an application + using TestRunner, and how to build a test plug-in to use with the + test plug-in runner. + +* Contribution + + - Contributed by project cuppa team (http://sourceforge.jp/projects/cuppa/): + + - XML style sheet: transform CppUnit XML output into HTML. + - Makefile for CppUnit with Borland C++ 5.5 free compiler. + +* Behavior changes: + + - Test runner should call TestResult::runTest() to run the 'top level' test. This + will inform the TestListener of the test run start/end. + +* Compatiblity break: + + - TestFactoryRegistry don't own register test anymore. AutoRegisterSuite has + been updated to preverse its apparent behavior. It should be of concern + if you created and registered custom TestFactory. + + - Removed TextTestProgressListener::done(). No longer needed, it listens + for endTestRun(). + +* Compatiblity Break for 1.9.2 users: + + - TestPlugIn.h: CppUnitTestPlugIn as been completly rewritten. + + - TestPlugIn.h: macro CPPUNIT_PLUGIN_IMPLEMENT() don't take any arguments. + + - TestSuitePlugIn: removed. A similar functionnality is provided by + PlugInManager. + + - TestPlugInDefaultImpl: renamed TestPlugInAdapter. It does not implements + any default behavior anymore. + + - DllPlugInRunner: no longer support multiple specific tests. The test path must + be prefixed with ':'. Release and Debug configuration links against cppunit_dll. + +* Bug Fix: + + - Crash when linking CppUnit DLL within another DLL that registered test. Caused + by the destruction of tests registered to TestFactoryRegistry. Fixed by + providing a register/unregister interface and removing the ownership of + TestFactory to TestFactoryRegistry. + + + + New in CppUnit 1.9.2: + ---------------------- + + In short: + - Cleaner XML output + - Crossplatform Test plug-in + - TestPlugInSuite to wrap test plug-in + - More TestPlugIn documentation. + +* TestPlugIn: + - The test plug-in functionnality has been rewritten from scrash. + TestPlugIn related macro are now crossplatform (exporting the plug-in + function from the dynamic library...). + + - Class DynamicLibraryManager provides a generic way to access dynamic + library. Platform specific implementation provided for WIN32, unix, BeOs. + Can be very easily ported to new platform. + + - A More flexible and hopefully extensible interface has been introduced + (CppUnitPlugIn). + + - A default implementation using the test factory registry is provided + (TestPlugInDefaultImpl). Can be easily customized. + + - The one line test plug-in declaration was renamed CPPUNIT_PLUGIN_IMPLEMENT. + + See modules/Writing Test Plug-in documentation and examples/EasyTestPlugIn. + +* XmlOutputter: + + - XML output is now indented. Nodes that don't have children are one line + tag. The output can now easily be read. + +* Compatibility break: + + - class TestSucessListener was renamed to TestSuccessListener. + + - XmlOutput: renamed tag <SuccessfulTests> to <SuccessfulTests> + + - Global fix of the 'success' typo (was misspelled 'sucess'). Main impacts are listed + above, but check your own code in case you override some protected/private methods. + + - TestPlugInInterface (include/msvc6/TestPlugInInterface.h): this header and class + are now obsolete. You should use include/cppunit/plugin/TestPlugIn.h instead. + Macro CPPUNIT_TESTPLUGIN_IMPL have been replaced by CPPUNIT_PLUGIN_IMPLEMENT. + + - TestDecorator inherits Test instead of TestLeaf. + + - DllPlugInTester only run DLL implementing the new new TestPlugIn interface. + + + New in CppUnit 1.9.0: + ---------------------- + + In short: + - Exploration of the test hierarchy without RTTI support + - Utility methods to find a test in the hierarchy + - TestPath to store/load the path to a specific test in the hierarchy + - Generic TestRunner + - Style sheet support added to XML ouput. + - CompilerOutputter supports run-time parametrization of error location format. + - Tracking of test suite run. + - Debugging and post-build testing of DLL using DllPlugInTester. + - Easy creation a test plug-in and test plug-in new example + +* Test: + + - Exploration of the test hierarchy without RTTI support: + Added Test::getChildTestCount() and Test::getChildTestAt() to walk the test hierarchy + without RTTI. + + - Utility methods to find a test in the hierarchy: + Added Test::findTest(), Test::findTestPath() and Test::resolveTestPath(). + +* TestPath: + + - A new class that store the path to a specific test (list of pointer). Can be + converted into a string and constructed from a string. Typically used with + TestRunner. + +* TestListener: + + - Added startSuite() and endSuite() callback that are called before and after a + test suite runs its child tests. See TestListener for detail and new example. + +* CompilerOutputter: + + - Support run-time parametrization of compiler error format. Support for gcc error + format added. See CompilerOutputter::setLocationFormat(). + +* XmlOutputter: + + - Added style sheet support. + + - XML structure change (see Compatibility break) + +* DllPlugInTester: (src/msvc6/DllPlugInTester, in src/CppUnitLibraries.dsw) + + - An application to load a DLL test plug-in and run the specified test. Test + result are reported using a CompilerOutputter. It can be used for post-build + testing, but to debug DLL too! See examples/msvc6/TestPlugIn/TestPlugIn.dsp + which demonstrate both. + +* TestPlugInInterface (include/msvc6/TestPlugInInterface.h): + + - Easy creation a test plug-in with the new macro CPPUNIT_TESTPLUGIN_IMPL + that implements and exports everything for you. + See examples/msvc6/EasyTestPlugIn for an example. + + +* Compatibility break: + + - Test::toString() has been removed. Applies to all subclass of Test. + It was not used by the framework and was source of confusion with getName(). + + - TestCase::run(void) and TestCase::defaultResult() have been removed. Using the + run() method with a TestResult instead. + + - XmlOutput: added a message element to the XML structure. The message associated + to a failure is now in the content of <Message> element instead of in the content + of the <FailedTest> element. + Changed from: + <FailedTest id="6"> + <Name>test6</Name> + <FailureType>Error</FailureType> + error2 + </FailedTest> + To: + <FailedTest id="6"> + <Name>test6</Name> + <FailureType>Error</FailureType> + <Message>error2</Message> + </FailedTest> + + +* Deprecated: + + - CompilerOutputter::defaultOutputter(): use default constructor instead. + + +* Bug fix: + + - XmlOutputter: did not escape content (bug #540944). + + - Included qt/examples in distribution + + - Removed dependency of MfcTestRunner on DSPlugIn. It should now compile with + VC++ 7. + + + New in CppUnit 1.8.0: + ---------------------- + + In short: + - new assertions + - new facilities to write custom assertions + - new macros to define test case in your fixture + - registration of test fixture in named suite + - xml & compiler format test result output + - a new graphic test runner for the QT library + - MFC test runner window is resizable + - cppunit as a DLL + - Unicode support for MFC test runner. + - architecture clean-up: TestResultCollector extracted from TestResult. + - architecture clean-up: TestFixture extracted from TestCase. + - cookbook and documentation updated. + +* New assertion (TestAssert.h): + + CPPUNIT_FAIL(message) : equivalent to CPPUNIT_ASSERT_MESSAGE( message, false ) + + CPPUNIT_ASSERT_EQUAL_MESSAGE( expectedValue, actualValue, additionalMessage ): + behave like CPPUNIT_ASSERT_EQUAL but allow to add some contextual information. + +* New macros to write test case (HelperMacros.h): + + CPPUNIT_TEST_EXCEPTION that expect an exception of a specified type to + be thrown. + + CPPUNIT_TEST_FAIL that expect a test to fail. + + CPPUNIT_TEST_SUITE_NAMED_REGISTRATION to register a suite in a named suite. See + cppunittest example for a demo. + +* TextTestRunner (TextTestRunner.h): + -run() returns a boolean indicating is the run was successful. + -the constructor and setOutputter() allow you do define a specific outputter + to print the test result (CompilerOutputter, TextOutputter, XmlOutputter...) + -result() provide access to the result of the test run. + -eventManager() give access to the TestResult, allowing you to register others + TestListener. + +* TestResult (TestResult.h): + - That class has been splitted in two: TestResult and TestResultCollector. + + - TestResult manages the TestListener (registration and event dispatch), as + well as the stop flag indicating if the current test run should be interrupted. + All other responsabilites have been moved to TestResultCollector. + + - TestResult no longer hold the result of the test run (this is done by + TestResultCollector which is a TestListener). + +* TestListener (TestListener.h): + - all failures and errors are reported using a single method: + virtual void addFailure( const TestFailure &failure ) + => the failure object life time is limited to that of the method call. + Use TestFailure::isError() to distinguish error from failure. + Use TestFailure::clone() to obtain a duplicate of the failure. + +* New helpers to construct your own assertion (Asserter.h): + + It is now very easy to create your own assertion macro with failure + location. + + Asserter namespace contains functions used to construct and throw exception + to report failure. See Asserter documentation for an example of usage, and + examples/cppunittest/XmlUniformiser.h for a real life example. + + CPPUNIT_SOURCELINE() macro have been added (SourceLine.h). It captures the + failure location in a SourceLine object. Use it to write your own macros. + + Asserter namespace contains functions used to construct and throw exception + to report failure. See Asserter documentation for an example of usage, and + examples/cppunittest/XmlUniformiser.h for a real life example. + +* TestListener (TestListener.h): + + - TestSucesssListener : a simple listener that checks if a test has failed. + + - TestResultCollector : store all the test result. This class has been + extracted from the hold TestResult class. + + - TextTestProgressListener : print dot on cout to each time a test ends. + Letter 'F' and 'E' are printed when a failure or an error occurs. + +* Output (Outputter.h): + + - XML output: You can dump the TestResult as an XML document using + XmlOutputter. See examples/cppunittest/XmlOutputterTest.cpp for document + structure and usage. + + - Compiler compatible output : CompilerOutputter print the result in a + compiler compatible format. You can use your IDE to jump to the first + failure. See examples/cppunittest/CppUniTestMain.cpp for an example of usage. + + - Text output : replace the deprecated TextTestResult. Print the result in + a human readable format. + +* NotEqualException constructor take an additional message (usually used to +point out where the difference occured between the expected and actual value) +that can be retreived with additionalMessage(). See Asserter documentation for +an example of usage. + +* CppUnit + + - CppUnit can be compiled as a DLL (WIN32 platform). + DLL can be generated by the cppunit_dll.dsp project. You must define the + pre-processor symbol CPPUNIT_DLL when linking against CppUnit DLL. + See cppunittests examples for an example. + +* TestRunner + + - Qt TestRunner : a test runner for the Qt library (http://www.trolltech.com). + See examples/qt for an example of use. + + - MFC TestRunner : the dialog can now be resized. List view column sizes, + as well as the dialog size, are saved. Unicode configurations have been added. + +* Deprecated + + - TextTestResult : use the test listener TextTestProgressListener and the + ouputter TextOuputter instead. + + - Methods having fileName, lineNumber as parameter. Usually replaced by + a similar method that take a SourceLine parameter. Exception and + TestAssert are impacted. + + - TestRegistryFactory::registerFactory( const std::string &name, + TestFactory *factory ). + + You must define the symbol CPPUNIT_ENABLE_SOURCELINE_DEPRECATED to enable + old Exception constructor, UNKNOWNFILENAME and UNKNOWNLINENUMBER, as well + as function defined in the TestAssert namespace. The exception construction + and throwing as been moved to Asserter namespace. + +* Compatibility break: + + TestResult has been splitted in two class. TestResultCollector compatibility + breaks refer to the methods that were previously in TestResult. + + - TestListener::addError() was removed. addFailure() is used to report +any kind of failure. + - TestResultCollector::errors() was removed. Use failures() instead. + - TestResultCollector::failures() now reports all kind of failures. + - TestResultCollector::failures() returns a const reference. + - void TestListener::addFailure( TestFailure *failure ) was removed. + - void TestListener::addError( TestFailure *failure ) signature changed. + + - CPPUNIT_ASSERT_EQUAL_MESSAGE: changed arguments order. 'message' is now + the first argument instead of the last (like CPPUNIT_ASSERT_MESSAGE). + Notes that CPPUNIT_ASSERT_EQUAL was introduced in release 1.7.3. + + - directory for TestRunners as moved from cppunitui/ to cppunit/ui/ (concern + only users of release 1.7.10) + +* Bug fix: + - test ExceptionTest.testAssignment() don't fail anymore on VC++. See FAQ + for detail. + + + New in CppUnit 1.6.1 + -------------------- + +* This is a bug-fixing release. + + + New in CppUnit 1.6.0 + -------------------- + +* All CppUnit macros now begin with "CPPUNIT_". + + Macros CU_TEST_SUITE, CU_TEST, CU_TEST_SUITE_END, CU_TEST_SUB_SUITE, + and CU_TEST_SUITE_REGISTRATION are renamed but are otherwise unchanged; + they take the same arguments, and have the same effect. The old-style + macros can be used if your sources #define CPPUNIT_ENABLE_CU_TEST_MACROS + to 1 before including any CppUnit headers. + + Macros assert, assertEqual, and assertDoublesEqual, have been replaced + by CPPUNIT_ASSERT, CPPUNIT_ASSERT_EQUAL, and CPPUNIT_ASSERT_DOUBLES_EQUAL, + respectively. Macro assertLongsEqual is replaced by CPPUNIT_ASSERT_EQUAL. + The old assert macros can be used if your sources #define + CPPUNIT_ENABLE_NAKED_ASSERT to 1 before including any CppUnit headers. + + The old macro names are deprecated and will vanish in a future version + of CppUnit. + + +* Equality assertion CPPUNIT_ASSERT_EQUAL(expected,actual) can test + any type of expression. The types of "expected" and "actual" must + be the same; use a cast if necessary. + + +* Equality tested using CPPUNIT_ASSERT_EQUAL may be re-defined using + a traits class. Ditto for the string representation used in the + diagnostic messages. + + +* New assertion with arbitrary message: CPPUNIT_ASSERT_MESSAGE. + + +* A test case obtained using class TestCaller may check that + a particular exception is thrown. + + +* CppUnit has a test suite for itself! + + +* VC++ integration for MFC TestRunner. + @@ -0,0 +1,17 @@ + CppUnit --- The C++ Unit Test Library + ------------------------------------- + http://www.freedesktop.org/wiki/Software/cppunit + +CppUnit is the C++ port of the famous JUnit framework for unit +testing. + +For MSWindows installation notes, see INSTALL-WIN32.txt. +For other systems -- including cygwin -- see INSTALL and INSTALL-unix. + + +Bug reports are welcome. Please open bug reports for Cppunit at +bugs.documentfoundation.org under the component cppunit. + +Email to the current maintainers may be sent to +<libreoffice@lists.freedesktop.org> + @@ -0,0 +1,23 @@ +Tim Jansen <timj@systembureau.com> +Christian Leutloff <leutloff@debian.org> +Steve M. Robbins <smr@sumost.ca> +Patrick Berny <PPBerny@web.de> +Patrick Hartling +Peer Sommerlund +Duane Murphy <duanem@users.sourceforge.net> +Gigi Sayfan <gigi@morphink.com> +Armin "bored" Michel <bored@sourceforge.net> +Jeffrey Morgan <kuzman@zoominternet.net> +'cuppa' project team (http://sourceforge.jp/projects/cuppa/) +Phil Verghese <philv@users.sourceforge.net> +Lavoie Philippe <lavoie@yukon.genie.uottawa.ca> +Pavel Zabelin +Marco Welti <Welti@GretagMacbeth.ch> +Thomas Neidhart +Hans Bühler <hans.buehler@topmail.de> (Dynamic Window library used by MFC UI) +John Sisson +Steven Mitter <smitter@iicm.tu-graz.ac.at> +Stephan Stapel <stephan.stapel@web.de> +Abdessattar Sassi <abdesassi@users.sourceforge.net> (hp-ux plug-in support) +Max Quatember and Andreas Pfaffenbichler (VC++ 7 MFC TestRunner go to source line) +Vincent Rivière @@ -0,0 +1,35 @@ +* Bugs: +Asserter::makeNotEqualMessage() strip the shortDescription of the additional message. + +* CppUnit: + - STL concept checker. + - Memory leak tracking: setUp/tearDown should be leak safe if no failure occured. + +* UnitTest + - add tests for XmlOutputter::setStyleSheet (current assertion macro strip <?...> when + testing ) + +* VC++ TestRunner: + - Modify MfcUi::TestRunner to expose TestResult (which allow specific TestListener + for global initialization). + - Update MfcTestRunner to use TestPath to store test in the registry + +* Documentation: + CookBook: + - how to create simple test cases (with CppUnit namespace) + - test case using only CPPUINT_ASSERT + - test case using CPPUNIT_ASSERT_EQUAL + - advanced assertions with the CPPUNIT_ASSERT_MESSAGE + - Helper Macros for convenience + - Creating a suite + - Composing a suite from more suites (i.e. compose tests for n modules to + form a big test for the whole program) + - customizing output using an user defined TestListener + - how to write the TestListener (subclass of TestListener) + - how to hook it in + - how to use the GUI + - MSVC++ special stuff + - other custmization stuff I haven't understood yet + + CppUnit: architecture overview. + diff --git a/aclocal.m4 b/aclocal.m4 new file mode 100644 index 0000000..4048ff1 --- /dev/null +++ b/aclocal.m4 @@ -0,0 +1,1149 @@ +# generated automatically by aclocal 1.16.1 -*- Autoconf -*- + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. + +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],, +[m4_warning([this file was generated for autoconf 2.69. +You have another version of autoconf. It may work, but is not guaranteed to. +If you have problems, you may need to regenerate the build system entirely. +To do so, use the procedure documented by the package, typically 'autoreconf'.])]) + +# Copyright (C) 2002-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +# (This private macro should not be called outside this file.) +AC_DEFUN([AM_AUTOMAKE_VERSION], +[am__api_version='1.16' +dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to +dnl require some minimum version. Point them to the right macro. +m4_if([$1], [1.16.1], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl +]) + +# _AM_AUTOCONF_VERSION(VERSION) +# ----------------------------- +# aclocal traces this macro to find the Autoconf version. +# This is a private macro too. Using m4_define simplifies +# the logic in aclocal, which can simply ignore this definition. +m4_define([_AM_AUTOCONF_VERSION], []) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. +# This function is AC_REQUIREd by AM_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +[AM_AUTOMAKE_VERSION([1.16.1])dnl +m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl +_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) + +# AM_AUX_DIR_EXPAND -*- Autoconf -*- + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to +# '$srcdir', '$srcdir/..', or '$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is '.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl +# Expand $ac_aux_dir to an absolute path. +am_aux_dir=`cd "$ac_aux_dir" && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ([2.52])dnl + m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE])dnl +AC_SUBST([$1_FALSE])dnl +_AM_SUBST_NOTMAKE([$1_TRUE])dnl +_AM_SUBST_NOTMAKE([$1_FALSE])dnl +m4_define([_AM_COND_VALUE_$1], [$2])dnl +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([[conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]]) +fi])]) + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + + +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +m4_if([$1], [CC], [depcc="$CC" am_compiler_list=], + [$1], [CXX], [depcc="$CXX" am_compiler_list=], + [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'], + [$1], [UPC], [depcc="$UPC" am_compiler_list=], + [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named 'D' -- because '-MD' means "put the output + # in D". + rm -rf conftest.dir + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + am__universal=false + m4_case([$1], [CC], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac], + [CXX], + [case " $depcc " in #( + *\ -arch\ *\ -arch\ *) am__universal=true ;; + esac]) + + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with + # Solaris 10 /bin/sh. + echo '/* dummy */' > sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + # We check with '-c' and '-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle '-M -o', and we need to detect this. Also, some Intel + # versions had trouble with output in subdirs. + am__obj=sub/conftest.${OBJEXT-o} + am__minus_obj="-o $am__obj" + case $depmode in + gcc) + # This depmode causes a compiler race in universal mode. + test "$am__universal" = false || continue + ;; + nosideeffect) + # After this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested. + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + msvc7 | msvc7msys | msvisualcpp | msvcmsys) + # This compiler won't grok '-c -o', but also, the minuso test has + # not run yet. These depmodes are late enough in the game, and + # so weak that their functioning should not be impacted. + am__obj=conftest.${OBJEXT-o} + am__minus_obj= + ;; + none) break ;; + esac + if depmode=$depmode \ + source=sub/conftest.c object=$am__obj \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep $am__obj sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES. +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE([dependency-tracking], [dnl +AS_HELP_STRING( + [--enable-dependency-tracking], + [do not reject slow dependency extractors]) +AS_HELP_STRING( + [--disable-dependency-tracking], + [speeds up one-time build])]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' + am__nodep='_no' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH])dnl +_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl +AC_SUBST([am__nodep])dnl +_AM_SUBST_NOTMAKE([am__nodep])dnl +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[{ + # Older Autoconf quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + # TODO: see whether this extra hack can be removed once we start + # requiring Autoconf 2.70 or later. + AS_CASE([$CONFIG_FILES], + [*\'*], [eval set x "$CONFIG_FILES"], + [*], [set x $CONFIG_FILES]) + shift + # Used to flag and report bootstrapping failures. + am_rc=0 + for am_mf + do + # Strip MF so we end up with the name of the file. + am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile which includes + # dependency-tracking related rules and includes. + # Grep'ing the whole file directly is not great: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ + || continue + am_dirpart=`AS_DIRNAME(["$am_mf"])` + am_filepart=`AS_BASENAME(["$am_mf"])` + AM_RUN_LOG([cd "$am_dirpart" \ + && sed -e '/# am--include-marker/d' "$am_filepart" \ + | $MAKE -f - am--depfiles]) || am_rc=$? + done + if test $am_rc -ne 0; then + AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments + for automatic dependency tracking. Try re-running configure with the + '--disable-dependency-tracking' option to at least be able to build + the package (albeit without support for automatic dependency tracking).]) + fi + AS_UNSET([am_dirpart]) + AS_UNSET([am_filepart]) + AS_UNSET([am_mf]) + AS_UNSET([am_rc]) + rm -f conftest-deps.mk +} +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking is enabled. +# This creates each '.Po' and '.Plo' makefile fragment that we'll need in +# order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])]) + +# Do all the work for Automake. -*- Autoconf -*- + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This macro actually does too much. Some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O. +m4_define([AC_PROG_CC], +m4_defn([AC_PROG_CC]) +[_AM_PROG_CC_C_O +]) + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.65])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +if test "`cd $srcdir && pwd`" != "`pwd`"; then + # Use -I$(srcdir) only when $(srcdir) != ., so that make's output + # is not polluted with repeated "-I." + AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl + # test to see if srcdir already configured + if test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) + fi +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[AC_DIAGNOSE([obsolete], + [$0: two- and three-arguments forms are deprecated.]) +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl +dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. +m4_if( + m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]), + [ok:ok],, + [m4_fatal([AC_INIT should be called with package and version arguments])])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package]) + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}]) +AM_MISSING_PROG([AUTOCONF], [autoconf]) +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}]) +AM_MISSING_PROG([AUTOHEADER], [autoheader]) +AM_MISSING_PROG([MAKEINFO], [makeinfo]) +AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl +AC_REQUIRE([AC_PROG_MKDIR_P])dnl +# For better backward compatibility. To be removed once Automake 1.9.x +# dies out for good. For more background, see: +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> +AC_SUBST([mkdir_p], ['$(MKDIR_P)']) +# We need awk for the "check" target (and possibly the TAP driver). The +# system "awk" is bad on some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl +_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], + [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], + [_AM_PROG_TAR([v7])])]) +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES([CC])], + [m4_define([AC_PROG_CC], + m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES([CXX])], + [m4_define([AC_PROG_CXX], + m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJC], + [_AM_DEPENDENCIES([OBJC])], + [m4_define([AC_PROG_OBJC], + m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX], + [_AM_DEPENDENCIES([OBJCXX])], + [m4_define([AC_PROG_OBJCXX], + m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl +]) +AC_REQUIRE([AM_SILENT_RULES])dnl +dnl The testsuite driver may need to know about EXEEXT, so add the +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below. +AC_CONFIG_COMMANDS_PRE(dnl +[m4_provide_if([_AM_COMPILER_EXEEXT], + [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl + +# POSIX will say in a future version that running "rm -f" with no argument +# is OK; and we want to be able to make that assumption in our Makefile +# recipes. So use an aggressive probe to check that the usage we want is +# actually supported "in the wild" to an acceptable degree. +# See automake bug#10828. +# To make any issue more visible, cause the running configure to be aborted +# by default if the 'rm' program in use doesn't match our expectations; the +# user can still override this though. +if rm -f && rm -fr && rm -rf; then : OK; else + cat >&2 <<'END' +Oops! + +Your 'rm' program seems unable to run without file operands specified +on the command line, even when the '-f' option is present. This is contrary +to the behaviour of most rm programs out there, and not conforming with +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> + +Please tell bug-automake@gnu.org about your system, including the value +of your $PATH and any error possibly output before this message. This +can help us improve future automake versions. + +END + if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then + echo 'Configuration will proceed anyway, since you have set the' >&2 + echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 + echo >&2 + else + cat >&2 <<'END' +Aborting the configuration process, to ensure you take notice of the issue. + +You can download and install GNU coreutils to get an 'rm' implementation +that behaves properly: <https://www.gnu.org/software/coreutils/>. + +If you want to complete the configuration process using your problematic +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM +to "yes", and re-run configure. + +END + AC_MSG_ERROR([Your 'rm' program is bad, sorry.]) + fi +fi +dnl The trailing newline in this macro's definition is deliberate, for +dnl backward compatibility and to allow trailing 'dnl'-style comments +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841. +]) + +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not +dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further +dnl mangled by Autoconf and run in a shell conditional statement. +m4_define([_AC_COMPILER_EXEEXT], +m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_arg=$1 +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +if test x"${install_sh+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; + *) + install_sh="\${SHELL} $am_aux_dir/install-sh" + esac +fi +AC_SUBST([install_sh])]) + +# Copyright (C) 2003-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_MAKE_INCLUDE() +# ----------------- +# Check whether make has an 'include' directive that can support all +# the idioms we need for our automatic dependency tracking code. +AC_DEFUN([AM_MAKE_INCLUDE], +[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive]) +cat > confinc.mk << 'END' +am__doit: + @echo this is the am__doit target >confinc.out +.PHONY: am__doit +END +am__include="#" +am__quote= +# BSD make does it like this. +echo '.include "confinc.mk" # ignored' > confmf.BSD +# Other make implementations (GNU, Solaris 10, AIX) do it like this. +echo 'include confinc.mk # ignored' > confmf.GNU +_am_result=no +for s in GNU BSD; do + AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out]) + AS_CASE([$?:`cat confinc.out 2>/dev/null`], + ['0:this is the am__doit target'], + [AS_CASE([$s], + [BSD], [am__include='.include' am__quote='"'], + [am__include='include' am__quote=''])]) + if test "$am__include" != "#"; then + _am_result="yes ($s style)" + break + fi +done +rm -f confinc.* confmf.* +AC_MSG_RESULT([${_am_result}]) +AC_SUBST([am__include])]) +AC_SUBST([am__quote])]) + +# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- + +# Copyright (C) 1997-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it is modern enough. +# If it is, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([missing])dnl +if test x"${MISSING+set}" != xset; then + case $am_aux_dir in + *\ * | *\ *) + MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; + *) + MISSING="\${SHELL} $am_aux_dir/missing" ;; + esac +fi +# Use eval to expand $SHELL +if eval "$MISSING --is-lightweight"; then + am_missing_run="$MISSING " +else + am_missing_run= + AC_MSG_WARN(['missing' script is too old or missing]) +fi +]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# -------------------- +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), [1])]) + +# _AM_SET_OPTIONS(OPTIONS) +# ------------------------ +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_PROG_CC_C_O +# --------------- +# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC +# to automatically call this. +AC_DEFUN([_AM_PROG_CC_C_O], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +AC_REQUIRE_AUX_FILE([compile])dnl +AC_LANG_PUSH([C])dnl +AC_CACHE_CHECK( + [whether $CC understands -c and -o together], + [am_cv_prog_cc_c_o], + [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])]) + # Make sure it works both with $CC and with simple cc. + # Following AC_PROG_CC_C_O, we do the test twice because some + # compilers refuse to overwrite an existing .o file with -o, + # though they will create one. + am_cv_prog_cc_c_o=yes + for am_i in 1 2; do + if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \ + && test -f conftest2.$ac_objext; then + : OK + else + am_cv_prog_cc_c_o=no + break + fi + done + rm -f core conftest* + unset am_i]) +if test "$am_cv_prog_cc_c_o" != yes; then + # Losing compiler, so override with the script. + # FIXME: It is wrong to rewrite CC. + # But if we don't then we get into trouble of one sort or another. + # A longer-term fix would be to have automake use am__CC in this case, + # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" + CC="$am_aux_dir/compile $CC" +fi +AC_LANG_POP([C])]) + +# For backward compatibility. +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])]) + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_RUN_LOG(COMMAND) +# ------------------- +# Run COMMAND, save the exit status in ac_status, and log it. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.) +AC_DEFUN([AM_RUN_LOG], +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD + ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD + (exit $ac_status); }]) + +# Check to make sure that the build environment is sane. -*- Autoconf -*- + +# Copyright (C) 1996-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Reject unsafe characters in $srcdir or the absolute working directory +# name. Accept space and tab only in the latter. +am_lf=' +' +case `pwd` in + *[[\\\"\#\$\&\'\`$am_lf]]*) + AC_MSG_ERROR([unsafe absolute working directory name]);; +esac +case $srcdir in + *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) + AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);; +esac + +# Do 'set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + am_has_slept=no + for am_try in 1 2; do + echo "timestamp, slept: $am_has_slept" > conftest.file + set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t "$srcdir/configure" conftest.file` + fi + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken + alias in your environment]) + fi + if test "$[2]" = conftest.file || test $am_try -eq 2; then + break + fi + # Just in case. + sleep 1 + am_has_slept=yes + done + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT([yes]) +# If we didn't sleep, we still need to ensure time stamps of config.status and +# generated files are strictly newer. +am_sleep_pid= +if grep 'slept: no' conftest.file >/dev/null 2>&1; then + ( sleep 1 ) & + am_sleep_pid=$! +fi +AC_CONFIG_COMMANDS_PRE( + [AC_MSG_CHECKING([that generated files are newer than configure]) + if test -n "$am_sleep_pid"; then + # Hide warnings about reused PIDs. + wait $am_sleep_pid 2>/dev/null + fi + AC_MSG_RESULT([done])]) +rm -f conftest.file +]) + +# Copyright (C) 2009-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_SILENT_RULES([DEFAULT]) +# -------------------------- +# Enable less verbose build rules; with the default set to DEFAULT +# ("yes" being less verbose, "no" or empty being verbose). +AC_DEFUN([AM_SILENT_RULES], +[AC_ARG_ENABLE([silent-rules], [dnl +AS_HELP_STRING( + [--enable-silent-rules], + [less verbose build output (undo: "make V=1")]) +AS_HELP_STRING( + [--disable-silent-rules], + [verbose build output (undo: "make V=0")])dnl +]) +case $enable_silent_rules in @%:@ ((( + yes) AM_DEFAULT_VERBOSITY=0;; + no) AM_DEFAULT_VERBOSITY=1;; + *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);; +esac +dnl +dnl A few 'make' implementations (e.g., NonStop OS and NextStep) +dnl do not support nested variable expansions. +dnl See automake bug#9928 and bug#10237. +am_make=${MAKE-make} +AC_CACHE_CHECK([whether $am_make supports nested variables], + [am_cv_make_support_nested_variables], + [if AS_ECHO([['TRUE=$(BAR$(V)) +BAR0=false +BAR1=true +V=1 +am__doit: + @$(TRUE) +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then + am_cv_make_support_nested_variables=yes +else + am_cv_make_support_nested_variables=no +fi]) +if test $am_cv_make_support_nested_variables = yes; then + dnl Using '$V' instead of '$(V)' breaks IRIX make. + AM_V='$(V)' + AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' +else + AM_V=$AM_DEFAULT_VERBOSITY + AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY +fi +AC_SUBST([AM_V])dnl +AM_SUBST_NOTMAKE([AM_V])dnl +AC_SUBST([AM_DEFAULT_V])dnl +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl +AM_BACKSLASH='\' +AC_SUBST([AM_BACKSLASH])dnl +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl +]) + +# Copyright (C) 2001-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# AM_PROG_INSTALL_STRIP +# --------------------- +# One issue with vendor 'install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in "make install-strip", and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using 'strip' when the user +# run "make install-strip". However 'strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the 'STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +# Copyright (C) 2006-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_SUBST_NOTMAKE(VARIABLE) +# --------------------------- +# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. +# This macro is traced by Automake. +AC_DEFUN([_AM_SUBST_NOTMAKE]) + +# AM_SUBST_NOTMAKE(VARIABLE) +# -------------------------- +# Public sister of _AM_SUBST_NOTMAKE. +AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) + +# Check how to create a tarball. -*- Autoconf -*- + +# Copyright (C) 2004-2018 Free Software Foundation, Inc. +# +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# _AM_PROG_TAR(FORMAT) +# -------------------- +# Check how to create a tarball in format FORMAT. +# FORMAT should be one of 'v7', 'ustar', or 'pax'. +# +# Substitute a variable $(am__tar) that is a command +# writing to stdout a FORMAT-tarball containing the directory +# $tardir. +# tardir=directory && $(am__tar) > result.tar +# +# Substitute a variable $(am__untar) that extract such +# a tarball read from stdin. +# $(am__untar) < result.tar +# +AC_DEFUN([_AM_PROG_TAR], +[# Always define AMTAR for backward compatibility. Yes, it's still used +# in the wild :-( We should find a proper way to deprecate it ... +AC_SUBST([AMTAR], ['$${TAR-tar}']) + +# We'll loop over all known methods to create a tar archive until one works. +_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' + +m4_if([$1], [v7], + [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], + + [m4_case([$1], + [ustar], + [# The POSIX 1988 'ustar' format is defined with fixed-size fields. + # There is notably a 21 bits limit for the UID and the GID. In fact, + # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 + # and bug#13588). + am_max_uid=2097151 # 2^21 - 1 + am_max_gid=$am_max_uid + # The $UID and $GID variables are not portable, so we need to resort + # to the POSIX-mandated id(1) utility. Errors in the 'id' calls + # below are definitely unexpected, so allow the users to see them + # (that is, avoid stderr redirection). + am_uid=`id -u || echo unknown` + am_gid=`id -g || echo unknown` + AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format]) + if test $am_uid -le $am_max_uid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi + AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format]) + if test $am_gid -le $am_max_gid; then + AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) + _am_tools=none + fi], + + [pax], + [], + + [m4_fatal([Unknown tar format])]) + + AC_MSG_CHECKING([how to create a $1 tar archive]) + + # Go ahead even if we have the value already cached. We do so because we + # need to set the values for the 'am__tar' and 'am__untar' variables. + _am_tools=${am_cv_prog_tar_$1-$_am_tools} + + for _am_tool in $_am_tools; do + case $_am_tool in + gnutar) + for _am_tar in tar gnutar gtar; do + AM_RUN_LOG([$_am_tar --version]) && break + done + am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' + am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' + am__untar="$_am_tar -xf -" + ;; + plaintar) + # Must skip GNU tar: if it does not support --format= it doesn't create + # ustar tarball either. + (tar --version) >/dev/null 2>&1 && continue + am__tar='tar chf - "$$tardir"' + am__tar_='tar chf - "$tardir"' + am__untar='tar xf -' + ;; + pax) + am__tar='pax -L -x $1 -w "$$tardir"' + am__tar_='pax -L -x $1 -w "$tardir"' + am__untar='pax -r' + ;; + cpio) + am__tar='find "$$tardir" -print | cpio -o -H $1 -L' + am__tar_='find "$tardir" -print | cpio -o -H $1 -L' + am__untar='cpio -i -H $1 -d' + ;; + none) + am__tar=false + am__tar_=false + am__untar=false + ;; + esac + + # If the value was cached, stop now. We just wanted to have am__tar + # and am__untar set. + test -n "${am_cv_prog_tar_$1}" && break + + # tar/untar a dummy directory, and stop if the command works. + rm -rf conftest.dir + mkdir conftest.dir + echo GrepMe > conftest.dir/file + AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) + rm -rf conftest.dir + if test -s conftest.tar; then + AM_RUN_LOG([$am__untar <conftest.tar]) + AM_RUN_LOG([cat conftest.dir/file]) + grep GrepMe conftest.dir/file >/dev/null 2>&1 && break + fi + done + rm -rf conftest.dir + + AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) + AC_MSG_RESULT([$am_cv_prog_tar_$1])]) + +AC_SUBST([am__tar]) +AC_SUBST([am__untar]) +]) # _AM_PROG_TAR + +m4_include([m4/ac_cxx_have_strstream.m4]) +m4_include([m4/ac_cxx_string_compare_string_first.m4]) +m4_include([m4/ac_dll.m4]) +m4_include([m4/ax_cxx_compile_stdcxx_11.m4]) +m4_include([m4/ax_cxx_gcc_abi_demangle.m4]) +m4_include([m4/ax_cxx_have_sstream.m4]) +m4_include([m4/ax_cxx_namespaces.m4]) +m4_include([m4/ax_prefix_config_h.m4]) +m4_include([m4/bb_enable_doxygen.m4]) +m4_include([m4/libtool.m4]) +m4_include([m4/ltoptions.m4]) +m4_include([m4/ltsugar.m4]) +m4_include([m4/ltversion.m4]) +m4_include([m4/lt~obsolete.m4]) diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..479564b --- /dev/null +++ b/autogen.sh @@ -0,0 +1,54 @@ +#!/bin/sh +TESTLIBTOOLIZE="glibtoolize libtoolize" + +LIBTOOLIZEFOUND="0" + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +olddir=`pwd` +cd $srcdir + +ACLOCAL_FLAGS="-I m4" + +aclocal --version > /dev/null 2> /dev/null || { + echo "error: aclocal not found" + exit 1 +} +automake --version > /dev/null 2> /dev/null || { + echo "error: automake not found" + exit 1 +} + +for i in $TESTLIBTOOLIZE; do + if which $i > /dev/null 2>&1; then + LIBTOOLIZE=$i + LIBTOOLIZEFOUND="1" + break + fi +done + +if [ "$LIBTOOLIZEFOUND" = "0" ]; then + echo "$0: need libtoolize tool to build cppunit" >&2 + exit 1 +fi + +$LIBTOOLIZE --force --copy || { + echo "error: libtoolize failed" + exit 1 +} +aclocal $ACLOCAL_FLAGS || { + echo "error: aclocal $ACLOCAL_FLAGS failed" + exit 1 +} +autoheader || { + echo "error: autoheader failed" + exit 1 +} +automake -a -c --foreign || { + echo "warning: automake failed" +} +autoconf || { + echo "error: autoconf failed" + exit 1 +} @@ -0,0 +1,348 @@ +#! /bin/sh +# Wrapper for compilers which do not understand '-c -o'. + +scriptversion=2018-03-07.03; # UTC + +# Copyright (C) 1999-2018 Free Software Foundation, Inc. +# Written by Tom Tromey <tromey@cygnus.com>. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. + +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that program. + +# This file is maintained in Automake, please report +# bugs to <bug-automake@gnu.org> or send patches to +# <automake-patches@gnu.org>. + +nl=' +' + +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent tools from complaining about whitespace usage. +IFS=" "" $nl" + +file_conv= + +# func_file_conv build_file lazy +# Convert a $build file to $host form and store it in $file +# Currently only supports Windows hosts. If the determined conversion +# type is listed in (the comma separated) LAZY, no conversion will +# take place. +func_file_conv () +{ + file=$1 + case $file in + / | /[!/]*) # absolute file, and not a UNC file + if test -z "$file_conv"; then + # lazily determine how to convert abs files + case `uname -s` in + MINGW*) + file_conv=mingw + ;; + CYGWIN*) + file_conv=cygwin + ;; + *) + file_conv=wine + ;; + esac + fi + case $file_conv/,$2, in + *,$file_conv,*) + ;; + mingw/*) + file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` + ;; + cygwin/*) + file=`cygpath -m "$file" || echo "$file"` + ;; + wine/*) + file=`winepath -w "$file" || echo "$file"` + ;; + esac + ;; + esac +} + +# func_cl_dashL linkdir +# Make cl look for libraries in LINKDIR +func_cl_dashL () +{ + func_file_conv "$1" + if test -z "$lib_path"; then + lib_path=$file + else + lib_path="$lib_path;$file" + fi + linker_opts="$linker_opts -LIBPATH:$file" +} + +# func_cl_dashl library +# Do a library search-path lookup for cl +func_cl_dashl () +{ + lib=$1 + found=no + save_IFS=$IFS + IFS=';' + for dir in $lib_path $LIB + do + IFS=$save_IFS + if $shared && test -f "$dir/$lib.dll.lib"; then + found=yes + lib=$dir/$lib.dll.lib + break + fi + if test -f "$dir/$lib.lib"; then + found=yes + lib=$dir/$lib.lib + break + fi + if test -f "$dir/lib$lib.a"; then + found=yes + lib=$dir/lib$lib.a + break + fi + done + IFS=$save_IFS + + if test "$found" != yes; then + lib=$lib.lib + fi +} + +# func_cl_wrapper cl arg... +# Adjust compile command to suit cl +func_cl_wrapper () +{ + # Assume a capable shell + lib_path= + shared=: + linker_opts= + for arg + do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + eat=1 + case $2 in + *.o | *.[oO][bB][jJ]) + func_file_conv "$2" + set x "$@" -Fo"$file" + shift + ;; + *) + func_file_conv "$2" + set x "$@" -Fe"$file" + shift + ;; + esac + ;; + -I) + eat=1 + func_file_conv "$2" mingw + set x "$@" -I"$file" + shift + ;; + -I*) + func_file_conv "${1#-I}" mingw + set x "$@" -I"$file" + shift + ;; + -l) + eat=1 + func_cl_dashl "$2" + set x "$@" "$lib" + shift + ;; + -l*) + func_cl_dashl "${1#-l}" + set x "$@" "$lib" + shift + ;; + -L) + eat=1 + func_cl_dashL "$2" + ;; + -L*) + func_cl_dashL "${1#-L}" + ;; + -static) + shared=false + ;; + -Wl,*) + arg=${1#-Wl,} + save_ifs="$IFS"; IFS=',' + for flag in $arg; do + IFS="$save_ifs" + linker_opts="$linker_opts $flag" + done + IFS="$save_ifs" + ;; + -Xlinker) + eat=1 + linker_opts="$linker_opts $2" + ;; + -*) + set x "$@" "$1" + shift + ;; + *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) + func_file_conv "$1" + set x "$@" -Tp"$file" + shift + ;; + *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) + func_file_conv "$1" mingw + set x "$@" "$file" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift + done + if test -n "$linker_opts"; then + linker_opts="-link$linker_opts" + fi + exec "$@" $linker_opts + exit 1 +} + +eat= + +case $1 in + '') + echo "$0: No command. Try '$0 --help' for more information." 1>&2 + exit 1; + ;; + -h | --h*) + cat <<\EOF +Usage: compile [--help] [--version] PROGRAM [ARGS] + +Wrapper for compilers which do not understand '-c -o'. +Remove '-o dest.o' from ARGS, run PROGRAM with the remaining +arguments, and rename the output as expected. + +If you are trying to build a whole package this is not the +right script to run: please start by reading the file 'INSTALL'. + +Report bugs to <bug-automake@gnu.org>. +EOF + exit $? + ;; + -v | --v*) + echo "compile $scriptversion" + exit $? + ;; + cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \ + icl | *[/\\]icl | icl.exe | *[/\\]icl.exe ) + func_cl_wrapper "$@" # Doesn't return... + ;; +esac + +ofile= +cfile= + +for arg +do + if test -n "$eat"; then + eat= + else + case $1 in + -o) + # configure might choose to run compile as 'compile cc -o foo foo.c'. + # So we strip '-o arg' only if arg is an object. + eat=1 + case $2 in + *.o | *.obj) + ofile=$2 + ;; + *) + set x "$@" -o "$2" + shift + ;; + esac + ;; + *.c) + cfile=$1 + set x "$@" "$1" + shift + ;; + *) + set x "$@" "$1" + shift + ;; + esac + fi + shift +done + +if test -z "$ofile" || test -z "$cfile"; then + # If no '-o' option was seen then we might have been invoked from a + # pattern rule where we don't need one. That is ok -- this is a + # normal compilation that the losing compiler can handle. If no + # '.c' file was seen then we are probably linking. That is also + # ok. + exec "$@" +fi + +# Name of file we expect compiler to create. +cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` + +# Create the lock directory. +# Note: use '[/\\:.-]' here to ensure that we don't use the same name +# that we are using for the .o file. Also, base the name on the expected +# object file name, since that is what matters with a parallel build. +lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d +while true; do + if mkdir "$lockdir" >/dev/null 2>&1; then + break + fi + sleep 1 +done +# FIXME: race condition here if user kills between mkdir and trap. +trap "rmdir '$lockdir'; exit 1" 1 2 15 + +# Run the compile. +"$@" +ret=$? + +if test -f "$cofile"; then + test "$cofile" = "$ofile" || mv "$cofile" "$ofile" +elif test -f "${cofile}bj"; then + test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" +fi + +rmdir "$lockdir" +exit $ret + +# Local Variables: +# mode: shell-script +# sh-indentation: 2 +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC0" +# time-stamp-end: "; # UTC" +# End: diff --git a/config.guess b/config.guess new file mode 100755 index 0000000..b33c9e8 --- /dev/null +++ b/config.guess @@ -0,0 +1,1486 @@ +#! /bin/sh +# Attempt to guess a canonical system name. +# Copyright 1992-2018 Free Software Foundation, Inc. + +timestamp='2018-08-29' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see <https://www.gnu.org/licenses/>. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). +# +# Originally written by Per Bothner; maintained since 2000 by Ben Elliston. +# +# You can get the latest version of this script from: +# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess +# +# Please send patches to <config-patches@gnu.org>. + + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] + +Output the configuration name of the system \`$me' is run on. + +Options: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.guess ($timestamp) + +Originally written by Per Bothner. +Copyright 1992-2018 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" >&2 + exit 1 ;; + * ) + break ;; + esac +done + +if test $# != 0; then + echo "$me: too many arguments$help" >&2 + exit 1 +fi + +# CC_FOR_BUILD -- compiler used by this script. Note that the use of a +# compiler to aid in system detection is discouraged as it requires +# temporary files to be created and, as you can see below, it is a +# headache to deal with in a portable fashion. + +# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still +# use `HOST_CC' if defined, but it is deprecated. + +# Portable tmp directory creation inspired by the Autoconf team. + +tmp= +# shellcheck disable=SC2172 +trap 'test -z "$tmp" || rm -fr "$tmp"' 1 2 13 15 +trap 'exitcode=$?; test -z "$tmp" || rm -fr "$tmp"; exit $exitcode' 0 + +set_cc_for_build() { + : "${TMPDIR=/tmp}" + # shellcheck disable=SC2039 + { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || + { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } || + { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } || + { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } + dummy=$tmp/dummy + case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in + ,,) echo "int x;" > "$dummy.c" + for driver in cc gcc c89 c99 ; do + if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then + CC_FOR_BUILD="$driver" + break + fi + done + if test x"$CC_FOR_BUILD" = x ; then + CC_FOR_BUILD=no_compiler_found + fi + ;; + ,,*) CC_FOR_BUILD=$CC ;; + ,*,*) CC_FOR_BUILD=$HOST_CC ;; + esac +} + +# This is needed to find uname on a Pyramid OSx when run in the BSD universe. +# (ghazi@noc.rutgers.edu 1994-08-24) +if test -f /.attbin/uname ; then + PATH=$PATH:/.attbin ; export PATH +fi + +UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown +UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown +UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown +UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown + +case "$UNAME_SYSTEM" in +Linux|GNU|GNU/*) + # If the system lacks a compiler, then just pick glibc. + # We could probably try harder. + LIBC=gnu + + set_cc_for_build + cat <<-EOF > "$dummy.c" + #include <features.h> + #if defined(__UCLIBC__) + LIBC=uclibc + #elif defined(__dietlibc__) + LIBC=dietlibc + #else + LIBC=gnu + #endif + EOF + eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`" + + # If ldd exists, use it to detect musl libc. + if command -v ldd >/dev/null && \ + ldd --version 2>&1 | grep -q ^musl + then + LIBC=musl + fi + ;; +esac + +# Note: order is significant - the case branches are not exclusive. + +case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in + *:NetBSD:*:*) + # NetBSD (nbsd) targets should (where applicable) match one or + # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, + # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently + # switched to ELF, *-*-netbsd* would select the old + # object file format. This provides both forward + # compatibility and a consistent mechanism for selecting the + # object file format. + # + # Note: NetBSD doesn't particularly care about the vendor + # portion of the name. We always set it to "unknown". + sysctl="sysctl -n hw.machine_arch" + UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ + "/sbin/$sysctl" 2>/dev/null || \ + "/usr/sbin/$sysctl" 2>/dev/null || \ + echo unknown)` + case "$UNAME_MACHINE_ARCH" in + armeb) machine=armeb-unknown ;; + arm*) machine=arm-unknown ;; + sh3el) machine=shl-unknown ;; + sh3eb) machine=sh-unknown ;; + sh5el) machine=sh5le-unknown ;; + earmv*) + arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'` + endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'` + machine="${arch}${endian}"-unknown + ;; + *) machine="$UNAME_MACHINE_ARCH"-unknown ;; + esac + # The Operating System including object format, if it has switched + # to ELF recently (or will in the future) and ABI. + case "$UNAME_MACHINE_ARCH" in + earm*) + os=netbsdelf + ;; + arm*|i386|m68k|ns32k|sh3*|sparc|vax) + set_cc_for_build + if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ELF__ + then + # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). + # Return netbsd for either. FIX? + os=netbsd + else + os=netbsdelf + fi + ;; + *) + os=netbsd + ;; + esac + # Determine ABI tags. + case "$UNAME_MACHINE_ARCH" in + earm*) + expr='s/^earmv[0-9]/-eabi/;s/eb$//' + abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"` + ;; + esac + # The OS release + # Debian GNU/NetBSD machines have a different userland, and + # thus, need a distinct triplet. However, they do not need + # kernel version information, so it can be replaced with a + # suitable tag, in the style of linux-gnu. + case "$UNAME_VERSION" in + Debian*) + release='-gnu' + ;; + *) + release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2` + ;; + esac + # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: + # contains redundant information, the shorter form: + # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. + echo "$machine-${os}${release}${abi-}" + exit ;; + *:Bitrig:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` + echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE" + exit ;; + *:OpenBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` + echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE" + exit ;; + *:LibertyBSD:*:*) + UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'` + echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE" + exit ;; + *:MidnightBSD:*:*) + echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE" + exit ;; + *:ekkoBSD:*:*) + echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE" + exit ;; + *:SolidBSD:*:*) + echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE" + exit ;; + macppc:MirBSD:*:*) + echo powerpc-unknown-mirbsd"$UNAME_RELEASE" + exit ;; + *:MirBSD:*:*) + echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE" + exit ;; + *:Sortix:*:*) + echo "$UNAME_MACHINE"-unknown-sortix + exit ;; + *:Redox:*:*) + echo "$UNAME_MACHINE"-unknown-redox + exit ;; + mips:OSF1:*.*) + echo mips-dec-osf1 + exit ;; + alpha:OSF1:*:*) + case $UNAME_RELEASE in + *4.0) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` + ;; + *5.*) + UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` + ;; + esac + # According to Compaq, /usr/sbin/psrinfo has been available on + # OSF/1 and Tru64 systems produced since 1995. I hope that + # covers most systems running today. This code pipes the CPU + # types through head -n 1, so we only detect the type of CPU 0. + ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` + case "$ALPHA_CPU_TYPE" in + "EV4 (21064)") + UNAME_MACHINE=alpha ;; + "EV4.5 (21064)") + UNAME_MACHINE=alpha ;; + "LCA4 (21066/21068)") + UNAME_MACHINE=alpha ;; + "EV5 (21164)") + UNAME_MACHINE=alphaev5 ;; + "EV5.6 (21164A)") + UNAME_MACHINE=alphaev56 ;; + "EV5.6 (21164PC)") + UNAME_MACHINE=alphapca56 ;; + "EV5.7 (21164PC)") + UNAME_MACHINE=alphapca57 ;; + "EV6 (21264)") + UNAME_MACHINE=alphaev6 ;; + "EV6.7 (21264A)") + UNAME_MACHINE=alphaev67 ;; + "EV6.8CB (21264C)") + UNAME_MACHINE=alphaev68 ;; + "EV6.8AL (21264B)") + UNAME_MACHINE=alphaev68 ;; + "EV6.8CX (21264D)") + UNAME_MACHINE=alphaev68 ;; + "EV6.9A (21264/EV69A)") + UNAME_MACHINE=alphaev69 ;; + "EV7 (21364)") + UNAME_MACHINE=alphaev7 ;; + "EV7.9 (21364A)") + UNAME_MACHINE=alphaev79 ;; + esac + # A Pn.n version is a patched version. + # A Vn.n version is a released version. + # A Tn.n version is a released field test version. + # A Xn.n version is an unreleased experimental baselevel. + # 1.2 uses "1.2" for uname -r. + echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" + # Reset EXIT trap before exiting to avoid spurious non-zero exit code. + exitcode=$? + trap '' 0 + exit $exitcode ;; + Amiga*:UNIX_System_V:4.0:*) + echo m68k-unknown-sysv4 + exit ;; + *:[Aa]miga[Oo][Ss]:*:*) + echo "$UNAME_MACHINE"-unknown-amigaos + exit ;; + *:[Mm]orph[Oo][Ss]:*:*) + echo "$UNAME_MACHINE"-unknown-morphos + exit ;; + *:OS/390:*:*) + echo i370-ibm-openedition + exit ;; + *:z/VM:*:*) + echo s390-ibm-zvmoe + exit ;; + *:OS400:*:*) + echo powerpc-ibm-os400 + exit ;; + arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) + echo arm-acorn-riscix"$UNAME_RELEASE" + exit ;; + arm*:riscos:*:*|arm*:RISCOS:*:*) + echo arm-unknown-riscos + exit ;; + SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) + echo hppa1.1-hitachi-hiuxmpp + exit ;; + Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) + # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. + if test "`(/bin/universe) 2>/dev/null`" = att ; then + echo pyramid-pyramid-sysv3 + else + echo pyramid-pyramid-bsd + fi + exit ;; + NILE*:*:*:dcosx) + echo pyramid-pyramid-svr4 + exit ;; + DRS?6000:unix:4.0:6*) + echo sparc-icl-nx6 + exit ;; + DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) + case `/usr/bin/uname -p` in + sparc) echo sparc-icl-nx7; exit ;; + esac ;; + s390x:SunOS:*:*) + echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" + exit ;; + sun4H:SunOS:5.*:*) + echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + exit ;; + sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) + echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" + exit ;; + i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) + echo i386-pc-auroraux"$UNAME_RELEASE" + exit ;; + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) + UNAME_REL="`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`" + case `isainfo -b` in + 32) + echo i386-pc-solaris2"$UNAME_REL" + ;; + 64) + echo x86_64-pc-solaris2"$UNAME_REL" + ;; + esac + exit ;; + sun4*:SunOS:6*:*) + # According to config.sub, this is the proper way to canonicalize + # SunOS6. Hard to guess exactly what SunOS6 will be like, but + # it's likely to be more like Solaris than SunOS4. + echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + exit ;; + sun4*:SunOS:*:*) + case "`/usr/bin/arch -k`" in + Series*|S4*) + UNAME_RELEASE=`uname -v` + ;; + esac + # Japanese Language versions have a version number like `4.1.3-JL'. + echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`" + exit ;; + sun3*:SunOS:*:*) + echo m68k-sun-sunos"$UNAME_RELEASE" + exit ;; + sun*:*:4.2BSD:*) + UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` + test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3 + case "`/bin/arch`" in + sun3) + echo m68k-sun-sunos"$UNAME_RELEASE" + ;; + sun4) + echo sparc-sun-sunos"$UNAME_RELEASE" + ;; + esac + exit ;; + aushp:SunOS:*:*) + echo sparc-auspex-sunos"$UNAME_RELEASE" + exit ;; + # The situation for MiNT is a little confusing. The machine name + # can be virtually everything (everything which is not + # "atarist" or "atariste" at least should have a processor + # > m68000). The system name ranges from "MiNT" over "FreeMiNT" + # to the lowercase version "mint" (or "freemint"). Finally + # the system name "TOS" denotes a system which is actually not + # MiNT. But MiNT is downward compatible to TOS, so this should + # be no problem. + atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint"$UNAME_RELEASE" + exit ;; + atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) + echo m68k-atari-mint"$UNAME_RELEASE" + exit ;; + *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) + echo m68k-atari-mint"$UNAME_RELEASE" + exit ;; + milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) + echo m68k-milan-mint"$UNAME_RELEASE" + exit ;; + hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) + echo m68k-hades-mint"$UNAME_RELEASE" + exit ;; + *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) + echo m68k-unknown-mint"$UNAME_RELEASE" + exit ;; + m68k:machten:*:*) + echo m68k-apple-machten"$UNAME_RELEASE" + exit ;; + powerpc:machten:*:*) + echo powerpc-apple-machten"$UNAME_RELEASE" + exit ;; + RISC*:Mach:*:*) + echo mips-dec-mach_bsd4.3 + exit ;; + RISC*:ULTRIX:*:*) + echo mips-dec-ultrix"$UNAME_RELEASE" + exit ;; + VAX*:ULTRIX*:*:*) + echo vax-dec-ultrix"$UNAME_RELEASE" + exit ;; + 2020:CLIX:*:* | 2430:CLIX:*:*) + echo clipper-intergraph-clix"$UNAME_RELEASE" + exit ;; + mips:*:*:UMIPS | mips:*:*:RISCos) + set_cc_for_build + sed 's/^ //' << EOF > "$dummy.c" +#ifdef __cplusplus +#include <stdio.h> /* for printf() prototype */ + int main (int argc, char *argv[]) { +#else + int main (argc, argv) int argc; char *argv[]; { +#endif + #if defined (host_mips) && defined (MIPSEB) + #if defined (SYSTYPE_SYSV) + printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_SVR4) + printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0); + #endif + #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) + printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0); + #endif + #endif + exit (-1); + } +EOF + $CC_FOR_BUILD -o "$dummy" "$dummy.c" && + dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` && + SYSTEM_NAME=`"$dummy" "$dummyarg"` && + { echo "$SYSTEM_NAME"; exit; } + echo mips-mips-riscos"$UNAME_RELEASE" + exit ;; + Motorola:PowerMAX_OS:*:*) + echo powerpc-motorola-powermax + exit ;; + Motorola:*:4.3:PL8-*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) + echo powerpc-harris-powermax + exit ;; + Night_Hawk:Power_UNIX:*:*) + echo powerpc-harris-powerunix + exit ;; + m88k:CX/UX:7*:*) + echo m88k-harris-cxux7 + exit ;; + m88k:*:4*:R4*) + echo m88k-motorola-sysv4 + exit ;; + m88k:*:3*:R3*) + echo m88k-motorola-sysv3 + exit ;; + AViiON:dgux:*:*) + # DG/UX returns AViiON for all architectures + UNAME_PROCESSOR=`/usr/bin/uname -p` + if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ] + then + if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \ + [ "$TARGET_BINARY_INTERFACE"x = x ] + then + echo m88k-dg-dgux"$UNAME_RELEASE" + else + echo m88k-dg-dguxbcs"$UNAME_RELEASE" + fi + else + echo i586-dg-dgux"$UNAME_RELEASE" + fi + exit ;; + M88*:DolphinOS:*:*) # DolphinOS (SVR3) + echo m88k-dolphin-sysv3 + exit ;; + M88*:*:R3*:*) + # Delta 88k system running SVR3 + echo m88k-motorola-sysv3 + exit ;; + XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) + echo m88k-tektronix-sysv3 + exit ;; + Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) + echo m68k-tektronix-bsd + exit ;; + *:IRIX*:*:*) + echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`" + exit ;; + ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. + echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id + exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' + i*86:AIX:*:*) + echo i386-ibm-aix + exit ;; + ia64:AIX:*:*) + if [ -x /usr/bin/oslevel ] ; then + IBM_REV=`/usr/bin/oslevel` + else + IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" + fi + echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV" + exit ;; + *:AIX:2:3) + if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then + set_cc_for_build + sed 's/^ //' << EOF > "$dummy.c" + #include <sys/systemcfg.h> + + main() + { + if (!__power_pc()) + exit(1); + puts("powerpc-ibm-aix3.2.5"); + exit(0); + } +EOF + if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` + then + echo "$SYSTEM_NAME" + else + echo rs6000-ibm-aix3.2.5 + fi + elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then + echo rs6000-ibm-aix3.2.4 + else + echo rs6000-ibm-aix3.2 + fi + exit ;; + *:AIX:*:[4567]) + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` + if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then + IBM_ARCH=rs6000 + else + IBM_ARCH=powerpc + fi + if [ -x /usr/bin/lslpp ] ; then + IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | + awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` + else + IBM_REV="$UNAME_VERSION.$UNAME_RELEASE" + fi + echo "$IBM_ARCH"-ibm-aix"$IBM_REV" + exit ;; + *:AIX:*:*) + echo rs6000-ibm-aix + exit ;; + ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*) + echo romp-ibm-bsd4.4 + exit ;; + ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and + echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to + exit ;; # report: romp-ibm BSD 4.3 + *:BOSX:*:*) + echo rs6000-bull-bosx + exit ;; + DPX/2?00:B.O.S.:*:*) + echo m68k-bull-sysv3 + exit ;; + 9000/[34]??:4.3bsd:1.*:*) + echo m68k-hp-bsd + exit ;; + hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) + echo m68k-hp-bsd4.4 + exit ;; + 9000/[34678]??:HP-UX:*:*) + HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` + case "$UNAME_MACHINE" in + 9000/31?) HP_ARCH=m68000 ;; + 9000/[34]??) HP_ARCH=m68k ;; + 9000/[678][0-9][0-9]) + if [ -x /usr/bin/getconf ]; then + sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` + sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` + case "$sc_cpu_version" in + 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0 + 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1 + 532) # CPU_PA_RISC2_0 + case "$sc_kernel_bits" in + 32) HP_ARCH=hppa2.0n ;; + 64) HP_ARCH=hppa2.0w ;; + '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20 + esac ;; + esac + fi + if [ "$HP_ARCH" = "" ]; then + set_cc_for_build + sed 's/^ //' << EOF > "$dummy.c" + + #define _HPUX_SOURCE + #include <stdlib.h> + #include <unistd.h> + + int main () + { + #if defined(_SC_KERNEL_BITS) + long bits = sysconf(_SC_KERNEL_BITS); + #endif + long cpu = sysconf (_SC_CPU_VERSION); + + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1"); break; + case CPU_PA_RISC2_0: + #if defined(_SC_KERNEL_BITS) + switch (bits) + { + case 64: puts ("hppa2.0w"); break; + case 32: puts ("hppa2.0n"); break; + default: puts ("hppa2.0"); break; + } break; + #else /* !defined(_SC_KERNEL_BITS) */ + puts ("hppa2.0"); break; + #endif + default: puts ("hppa1.0"); break; + } + exit (0); + } +EOF + (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"` + test -z "$HP_ARCH" && HP_ARCH=hppa + fi ;; + esac + if [ "$HP_ARCH" = hppa2.0w ] + then + set_cc_for_build + + # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating + # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler + # generating 64-bit code. GNU and HP use different nomenclature: + # + # $ CC_FOR_BUILD=cc ./config.guess + # => hppa2.0w-hp-hpux11.23 + # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess + # => hppa64-hp-hpux11.23 + + if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | + grep -q __LP64__ + then + HP_ARCH=hppa2.0w + else + HP_ARCH=hppa64 + fi + fi + echo "$HP_ARCH"-hp-hpux"$HPUX_REV" + exit ;; + ia64:HP-UX:*:*) + HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'` + echo ia64-hp-hpux"$HPUX_REV" + exit ;; + 3050*:HI-UX:*:*) + set_cc_for_build + sed 's/^ //' << EOF > "$dummy.c" + #include <unistd.h> + int + main () + { + long cpu = sysconf (_SC_CPU_VERSION); + /* The order matters, because CPU_IS_HP_MC68K erroneously returns + true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct + results, however. */ + if (CPU_IS_PA_RISC (cpu)) + { + switch (cpu) + { + case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; + case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; + case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; + default: puts ("hppa-hitachi-hiuxwe2"); break; + } + } + else if (CPU_IS_HP_MC68K (cpu)) + puts ("m68k-hitachi-hiuxwe2"); + else puts ("unknown-hitachi-hiuxwe2"); + exit (0); + } +EOF + $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` && + { echo "$SYSTEM_NAME"; exit; } + echo unknown-hitachi-hiuxwe2 + exit ;; + 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*) + echo hppa1.1-hp-bsd + exit ;; + 9000/8??:4.3bsd:*:*) + echo hppa1.0-hp-bsd + exit ;; + *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) + echo hppa1.0-hp-mpeix + exit ;; + hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*) + echo hppa1.1-hp-osf + exit ;; + hp8??:OSF1:*:*) + echo hppa1.0-hp-osf + exit ;; + i*86:OSF1:*:*) + if [ -x /usr/sbin/sysversion ] ; then + echo "$UNAME_MACHINE"-unknown-osf1mk + else + echo "$UNAME_MACHINE"-unknown-osf1 + fi + exit ;; + parisc*:Lites*:*:*) + echo hppa1.1-hp-lites + exit ;; + C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) + echo c1-convex-bsd + exit ;; + C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) + if getsysinfo -f scalar_acc + then echo c32-convex-bsd + else echo c2-convex-bsd + fi + exit ;; + C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) + echo c34-convex-bsd + exit ;; + C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) + echo c38-convex-bsd + exit ;; + C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) + echo c4-convex-bsd + exit ;; + CRAY*Y-MP:*:*:*) + echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*[A-Z]90:*:*:*) + echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \ + | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ + -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ + -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*TS:*:*:*) + echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*T3E:*:*:*) + echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; + CRAY*SV1:*:*:*) + echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; + *:UNICOS/mp:*:*) + echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/' + exit ;; + F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) + FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz` + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'` + echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + 5000:UNIX_System_V:4.*:*) + FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'` + FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'` + echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" + exit ;; + i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) + echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE" + exit ;; + sparc*:BSD/OS:*:*) + echo sparc-unknown-bsdi"$UNAME_RELEASE" + exit ;; + *:BSD/OS:*:*) + echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE" + exit ;; + arm:FreeBSD:*:*) + UNAME_PROCESSOR=`uname -p` + set_cc_for_build + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabi + else + echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabihf + fi + exit ;; + *:FreeBSD:*:*) + UNAME_PROCESSOR=`/usr/bin/uname -p` + case "$UNAME_PROCESSOR" in + amd64) + UNAME_PROCESSOR=x86_64 ;; + i386) + UNAME_PROCESSOR=i586 ;; + esac + echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" + exit ;; + i*:CYGWIN*:*) + echo "$UNAME_MACHINE"-pc-cygwin + exit ;; + *:MINGW64*:*) + echo "$UNAME_MACHINE"-pc-mingw64 + exit ;; + *:MINGW*:*) + echo "$UNAME_MACHINE"-pc-mingw32 + exit ;; + *:MSYS*:*) + echo "$UNAME_MACHINE"-pc-msys + exit ;; + i*:PW*:*) + echo "$UNAME_MACHINE"-pc-pw32 + exit ;; + *:Interix*:*) + case "$UNAME_MACHINE" in + x86) + echo i586-pc-interix"$UNAME_RELEASE" + exit ;; + authenticamd | genuineintel | EM64T) + echo x86_64-unknown-interix"$UNAME_RELEASE" + exit ;; + IA64) + echo ia64-unknown-interix"$UNAME_RELEASE" + exit ;; + esac ;; + i*:UWIN*:*) + echo "$UNAME_MACHINE"-pc-uwin + exit ;; + amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) + echo x86_64-unknown-cygwin + exit ;; + prep*:SunOS:5.*:*) + echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`" + exit ;; + *:GNU:*:*) + # the GNU system + echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`" + exit ;; + *:GNU/*:*:*) + # other systems with GNU libc and userland + echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC" + exit ;; + *:Minix:*:*) + echo "$UNAME_MACHINE"-unknown-minix + exit ;; + aarch64:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + aarch64_be:Linux:*:*) + UNAME_MACHINE=aarch64_be + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + alpha:Linux:*:*) + case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in + EV5) UNAME_MACHINE=alphaev5 ;; + EV56) UNAME_MACHINE=alphaev56 ;; + PCA56) UNAME_MACHINE=alphapca56 ;; + PCA57) UNAME_MACHINE=alphapca56 ;; + EV6) UNAME_MACHINE=alphaev6 ;; + EV67) UNAME_MACHINE=alphaev67 ;; + EV68*) UNAME_MACHINE=alphaev68 ;; + esac + objdump --private-headers /bin/sh | grep -q ld.so.1 + if test "$?" = 0 ; then LIBC=gnulibc1 ; fi + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + arc:Linux:*:* | arceb:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + arm*:Linux:*:*) + set_cc_for_build + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_EABI__ + then + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + else + if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ + | grep -q __ARM_PCS_VFP + then + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi + else + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf + fi + fi + exit ;; + avr32*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + cris:Linux:*:*) + echo "$UNAME_MACHINE"-axis-linux-"$LIBC" + exit ;; + crisv32:Linux:*:*) + echo "$UNAME_MACHINE"-axis-linux-"$LIBC" + exit ;; + e2k:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + frv:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + hexagon:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + i*86:Linux:*:*) + echo "$UNAME_MACHINE"-pc-linux-"$LIBC" + exit ;; + ia64:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + k1om:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + m32r*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + m68*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + mips:Linux:*:* | mips64:Linux:*:*) + set_cc_for_build + sed 's/^ //' << EOF > "$dummy.c" + #undef CPU + #undef ${UNAME_MACHINE} + #undef ${UNAME_MACHINE}el + #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) + CPU=${UNAME_MACHINE}el + #else + #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) + CPU=${UNAME_MACHINE} + #else + CPU= + #endif + #endif +EOF + eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`" + test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; } + ;; + mips64el:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + openrisc*:Linux:*:*) + echo or1k-unknown-linux-"$LIBC" + exit ;; + or32:Linux:*:* | or1k*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + padre:Linux:*:*) + echo sparc-unknown-linux-"$LIBC" + exit ;; + parisc64:Linux:*:* | hppa64:Linux:*:*) + echo hppa64-unknown-linux-"$LIBC" + exit ;; + parisc:Linux:*:* | hppa:Linux:*:*) + # Look for CPU level + case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in + PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;; + PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;; + *) echo hppa-unknown-linux-"$LIBC" ;; + esac + exit ;; + ppc64:Linux:*:*) + echo powerpc64-unknown-linux-"$LIBC" + exit ;; + ppc:Linux:*:*) + echo powerpc-unknown-linux-"$LIBC" + exit ;; + ppc64le:Linux:*:*) + echo powerpc64le-unknown-linux-"$LIBC" + exit ;; + ppcle:Linux:*:*) + echo powerpcle-unknown-linux-"$LIBC" + exit ;; + riscv32:Linux:*:* | riscv64:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + s390:Linux:*:* | s390x:Linux:*:*) + echo "$UNAME_MACHINE"-ibm-linux-"$LIBC" + exit ;; + sh64*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + sh*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + sparc:Linux:*:* | sparc64:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + tile*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + vax:Linux:*:*) + echo "$UNAME_MACHINE"-dec-linux-"$LIBC" + exit ;; + x86_64:Linux:*:*) + echo "$UNAME_MACHINE"-pc-linux-"$LIBC" + exit ;; + xtensa*:Linux:*:*) + echo "$UNAME_MACHINE"-unknown-linux-"$LIBC" + exit ;; + i*86:DYNIX/ptx:4*:*) + # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. + # earlier versions are messed up and put the nodename in both + # sysname and nodename. + echo i386-sequent-sysv4 + exit ;; + i*86:UNIX_SV:4.2MP:2.*) + # Unixware is an offshoot of SVR4, but it has its own version + # number series starting with 2... + # I am not positive that other SVR4 systems won't match this, + # I just have to hope. -- rms. + # Use sysv4.2uw... so that sysv4* matches it. + echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION" + exit ;; + i*86:OS/2:*:*) + # If we were able to find `uname', then EMX Unix compatibility + # is probably installed. + echo "$UNAME_MACHINE"-pc-os2-emx + exit ;; + i*86:XTS-300:*:STOP) + echo "$UNAME_MACHINE"-unknown-stop + exit ;; + i*86:atheos:*:*) + echo "$UNAME_MACHINE"-unknown-atheos + exit ;; + i*86:syllable:*:*) + echo "$UNAME_MACHINE"-pc-syllable + exit ;; + i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) + echo i386-unknown-lynxos"$UNAME_RELEASE" + exit ;; + i*86:*DOS:*:*) + echo "$UNAME_MACHINE"-pc-msdosdjgpp + exit ;; + i*86:*:4.*:*) + UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'` + if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then + echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL" + else + echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL" + fi + exit ;; + i*86:*:5:[678]*) + # UnixWare 7.x, OpenUNIX and OpenServer 6. + case `/bin/uname -X | grep "^Machine"` in + *486*) UNAME_MACHINE=i486 ;; + *Pentium) UNAME_MACHINE=i586 ;; + *Pent*|*Celeron) UNAME_MACHINE=i686 ;; + esac + echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}" + exit ;; + i*86:*:3.2:*) + if test -f /usr/options/cb.name; then + UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name` + echo "$UNAME_MACHINE"-pc-isc"$UNAME_REL" + elif /bin/uname -X 2>/dev/null >/dev/null ; then + UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` + (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 + (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ + && UNAME_MACHINE=i586 + (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ + && UNAME_MACHINE=i686 + (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ + && UNAME_MACHINE=i686 + echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL" + else + echo "$UNAME_MACHINE"-pc-sysv32 + fi + exit ;; + pc:*:*:*) + # Left here for compatibility: + # uname -m prints for DJGPP always 'pc', but it prints nothing about + # the processor, so we play safe by assuming i586. + # Note: whatever this is, it MUST be the same as what config.sub + # prints for the "djgpp" host, or else GDB configure will decide that + # this is a cross-build. + echo i586-pc-msdosdjgpp + exit ;; + Intel:Mach:3*:*) + echo i386-pc-mach3 + exit ;; + paragon:*:*:*) + echo i860-intel-osf1 + exit ;; + i860:*:4.*:*) # i860-SVR4 + if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then + echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4 + else # Add other i860-SVR4 vendors below as they are discovered. + echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4 + fi + exit ;; + mini*:CTIX:SYS*5:*) + # "miniframe" + echo m68010-convergent-sysv + exit ;; + mc68k:UNIX:SYSTEM5:3.51m) + echo m68k-convergent-sysv + exit ;; + M680?0:D-NIX:5.3:*) + echo m68k-diab-dnix + exit ;; + M68*:*:R3V[5678]*:*) + test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; + 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) + OS_REL='' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; + 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4; exit; } ;; + NCR*:*:4.2:* | MPRAS*:*:4.2:*) + OS_REL='.3' + test -r /etc/.relid \ + && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` + /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ + && { echo i486-ncr-sysv4.3"$OS_REL"; exit; } + /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ + && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } + /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ + && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;; + m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) + echo m68k-unknown-lynxos"$UNAME_RELEASE" + exit ;; + mc68030:UNIX_System_V:4.*:*) + echo m68k-atari-sysv4 + exit ;; + TSUNAMI:LynxOS:2.*:*) + echo sparc-unknown-lynxos"$UNAME_RELEASE" + exit ;; + rs6000:LynxOS:2.*:*) + echo rs6000-unknown-lynxos"$UNAME_RELEASE" + exit ;; + PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) + echo powerpc-unknown-lynxos"$UNAME_RELEASE" + exit ;; + SM[BE]S:UNIX_SV:*:*) + echo mips-dde-sysv"$UNAME_RELEASE" + exit ;; + RM*:ReliantUNIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + RM*:SINIX-*:*:*) + echo mips-sni-sysv4 + exit ;; + *:SINIX-*:*:*) + if uname -p 2>/dev/null >/dev/null ; then + UNAME_MACHINE=`(uname -p) 2>/dev/null` + echo "$UNAME_MACHINE"-sni-sysv4 + else + echo ns32k-sni-sysv + fi + exit ;; + PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort + # says <Richard.M.Bartel@ccMail.Census.GOV> + echo i586-unisys-sysv4 + exit ;; + *:UNIX_System_V:4*:FTX*) + # From Gerald Hewes <hewes@openmarket.com>. + # How about differentiating between stratus architectures? -djm + echo hppa1.1-stratus-sysv4 + exit ;; + *:*:*:FTX*) + # From seanf@swdc.stratus.com. + echo i860-stratus-sysv4 + exit ;; + i*86:VOS:*:*) + # From Paul.Green@stratus.com. + echo "$UNAME_MACHINE"-stratus-vos + exit ;; + *:VOS:*:*) + # From Paul.Green@stratus.com. + echo hppa1.1-stratus-vos + exit ;; + mc68*:A/UX:*:*) + echo m68k-apple-aux"$UNAME_RELEASE" + exit ;; + news*:NEWS-OS:6*:*) + echo mips-sony-newsos6 + exit ;; + R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) + if [ -d /usr/nec ]; then + echo mips-nec-sysv"$UNAME_RELEASE" + else + echo mips-unknown-sysv"$UNAME_RELEASE" + fi + exit ;; + BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. + echo powerpc-be-beos + exit ;; + BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. + echo powerpc-apple-beos + exit ;; + BePC:BeOS:*:*) # BeOS running on Intel PC compatible. + echo i586-pc-beos + exit ;; + BePC:Haiku:*:*) # Haiku running on Intel PC compatible. + echo i586-pc-haiku + exit ;; + x86_64:Haiku:*:*) + echo x86_64-unknown-haiku + exit ;; + SX-4:SUPER-UX:*:*) + echo sx4-nec-superux"$UNAME_RELEASE" + exit ;; + SX-5:SUPER-UX:*:*) + echo sx5-nec-superux"$UNAME_RELEASE" + exit ;; + SX-6:SUPER-UX:*:*) + echo sx6-nec-superux"$UNAME_RELEASE" + exit ;; + SX-7:SUPER-UX:*:*) + echo sx7-nec-superux"$UNAME_RELEASE" + exit ;; + SX-8:SUPER-UX:*:*) + echo sx8-nec-superux"$UNAME_RELEASE" + exit ;; + SX-8R:SUPER-UX:*:*) + echo sx8r-nec-superux"$UNAME_RELEASE" + exit ;; + SX-ACE:SUPER-UX:*:*) + echo sxace-nec-superux"$UNAME_RELEASE" + exit ;; + Power*:Rhapsody:*:*) + echo powerpc-apple-rhapsody"$UNAME_RELEASE" + exit ;; + *:Rhapsody:*:*) + echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE" + exit ;; + *:Darwin:*:*) + UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown + set_cc_for_build + if test "$UNAME_PROCESSOR" = unknown ; then + UNAME_PROCESSOR=powerpc + fi + if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then + if [ "$CC_FOR_BUILD" != no_compiler_found ]; then + if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_64BIT_ARCH >/dev/null + then + case $UNAME_PROCESSOR in + i386) UNAME_PROCESSOR=x86_64 ;; + powerpc) UNAME_PROCESSOR=powerpc64 ;; + esac + fi + # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc + if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \ + (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \ + grep IS_PPC >/dev/null + then + UNAME_PROCESSOR=powerpc + fi + fi + elif test "$UNAME_PROCESSOR" = i386 ; then + # Avoid executing cc on OS X 10.9, as it ships with a stub + # that puts up a graphical alert prompting to install + # developer tools. Any system running Mac OS X 10.7 or + # later (Darwin 11 and later) is required to have a 64-bit + # processor. This is not true of the ARM version of Darwin + # that Apple uses in portable devices. + UNAME_PROCESSOR=x86_64 + fi + echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE" + exit ;; + *:procnto*:*:* | *:QNX:[0123456789]*:*) + UNAME_PROCESSOR=`uname -p` + if test "$UNAME_PROCESSOR" = x86; then + UNAME_PROCESSOR=i386 + UNAME_MACHINE=pc + fi + echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE" + exit ;; + *:QNX:*:4*) + echo i386-pc-qnx + exit ;; + NEO-*:NONSTOP_KERNEL:*:*) + echo neo-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSE-*:NONSTOP_KERNEL:*:*) + echo nse-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSR-*:NONSTOP_KERNEL:*:*) + echo nsr-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSV-*:NONSTOP_KERNEL:*:*) + echo nsv-tandem-nsk"$UNAME_RELEASE" + exit ;; + NSX-*:NONSTOP_KERNEL:*:*) + echo nsx-tandem-nsk"$UNAME_RELEASE" + exit ;; + *:NonStop-UX:*:*) + echo mips-compaq-nonstopux + exit ;; + BS2000:POSIX*:*:*) + echo bs2000-siemens-sysv + exit ;; + DS/*:UNIX_System_V:*:*) + echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE" + exit ;; + *:Plan9:*:*) + # "uname -m" is not consistent, so use $cputype instead. 386 + # is converted to i386 for consistency with other x86 + # operating systems. + # shellcheck disable=SC2154 + if test "$cputype" = 386; then + UNAME_MACHINE=i386 + else + UNAME_MACHINE="$cputype" + fi + echo "$UNAME_MACHINE"-unknown-plan9 + exit ;; + *:TOPS-10:*:*) + echo pdp10-unknown-tops10 + exit ;; + *:TENEX:*:*) + echo pdp10-unknown-tenex + exit ;; + KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) + echo pdp10-dec-tops20 + exit ;; + XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) + echo pdp10-xkl-tops20 + exit ;; + *:TOPS-20:*:*) + echo pdp10-unknown-tops20 + exit ;; + *:ITS:*:*) + echo pdp10-unknown-its + exit ;; + SEI:*:*:SEIUX) + echo mips-sei-seiux"$UNAME_RELEASE" + exit ;; + *:DragonFly:*:*) + echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`" + exit ;; + *:*VMS:*:*) + UNAME_MACHINE=`(uname -p) 2>/dev/null` + case "$UNAME_MACHINE" in + A*) echo alpha-dec-vms ; exit ;; + I*) echo ia64-dec-vms ; exit ;; + V*) echo vax-dec-vms ; exit ;; + esac ;; + *:XENIX:*:SysV) + echo i386-pc-xenix + exit ;; + i*86:skyos:*:*) + echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`" + exit ;; + i*86:rdos:*:*) + echo "$UNAME_MACHINE"-pc-rdos + exit ;; + i*86:AROS:*:*) + echo "$UNAME_MACHINE"-pc-aros + exit ;; + x86_64:VMkernel:*:*) + echo "$UNAME_MACHINE"-unknown-esx + exit ;; + amd64:Isilon\ OneFS:*:*) + echo x86_64-unknown-onefs + exit ;; +esac + +echo "$0: unable to guess system type" >&2 + +case "$UNAME_MACHINE:$UNAME_SYSTEM" in + mips:Linux | mips64:Linux) + # If we got here on MIPS GNU/Linux, output extra information. + cat >&2 <<EOF + +NOTE: MIPS GNU/Linux systems require a C compiler to fully recognize +the system type. Please install a C compiler and try again. +EOF + ;; +esac + +cat >&2 <<EOF + +This script (version $timestamp), has failed to recognize the +operating system you are using. If your script is old, overwrite *all* +copies of config.guess and config.sub with the latest versions from: + + https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess +and + https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub + +If $0 has already been updated, send the following data and any +information you think might be pertinent to config-patches@gnu.org to +provide the necessary information to handle your system. + +config.guess timestamp = $timestamp + +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null` + +hostinfo = `(hostinfo) 2>/dev/null` +/bin/universe = `(/bin/universe) 2>/dev/null` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` +/bin/arch = `(/bin/arch) 2>/dev/null` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` + +UNAME_MACHINE = "$UNAME_MACHINE" +UNAME_RELEASE = "$UNAME_RELEASE" +UNAME_SYSTEM = "$UNAME_SYSTEM" +UNAME_VERSION = "$UNAME_VERSION" +EOF + +exit 1 + +# Local variables: +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/config.h.in b/config.h.in new file mode 100644 index 0000000..f8f0c5e --- /dev/null +++ b/config.h.in @@ -0,0 +1,100 @@ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* define if library uses std::string::compare(string,pos,n) */ +#undef FUNC_STRING_COMPARE_STRING_FIRST + +/* define if the library defines strstream */ +#undef HAVE_CLASS_STRSTREAM + +/* Define to 1 if you have the <cmath> header file. */ +#undef HAVE_CMATH + +/* define if the compiler supports basic C++11 syntax */ +#undef HAVE_CXX11 + +/* Define if you have the GNU dld library. */ +#undef HAVE_DLD + +/* Define to 1 if you have the `dlerror' function. */ +#undef HAVE_DLERROR + +/* Define to 1 if you have the <dlfcn.h> header file. */ +#undef HAVE_DLFCN_H + +/* define if the compiler supports GCC C++ ABI name demangling */ +#undef HAVE_GCC_ABI_DEMANGLE + +/* Define to 1 if you have the <inttypes.h> header file. */ +#undef HAVE_INTTYPES_H + +/* Define if you have the libdl library or equivalent. */ +#undef HAVE_LIBDL + +/* Define to 1 if you have the <memory.h> header file. */ +#undef HAVE_MEMORY_H + +/* define if the compiler implements namespaces */ +#undef HAVE_NAMESPACES + +/* Define if you have the shl_load function. */ +#undef HAVE_SHL_LOAD + +/* define if the compiler has stringstream */ +#undef HAVE_SSTREAM + +/* Define to 1 if you have the <stdint.h> header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the <stdlib.h> header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the <strings.h> header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the <string.h> header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the <strstream> header file. */ +#undef HAVE_STRSTREAM + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the <sys/types.h> header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the <unistd.h> header file. */ +#undef HAVE_UNISTD_H + +/* Define to the sub-directory where libtool stores uninstalled libraries. */ +#undef LT_OBJDIR + +/* Disable debugging information */ +#undef NDEBUG + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Version number of package */ +#undef VERSION diff --git a/config.sub b/config.sub new file mode 100755 index 0000000..b51fb8c --- /dev/null +++ b/config.sub @@ -0,0 +1,1790 @@ +#! /bin/sh +# Configuration validation subroutine script. +# Copyright 1992-2018 Free Software Foundation, Inc. + +timestamp='2018-08-29' + +# This file is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see <https://www.gnu.org/licenses/>. +# +# As a special exception to the GNU General Public License, if you +# distribute this file as part of a program that contains a +# configuration script generated by Autoconf, you may include it under +# the same distribution terms that you use for the rest of that +# program. This Exception is an additional permission under section 7 +# of the GNU General Public License, version 3 ("GPLv3"). + + +# Please send patches to <config-patches@gnu.org>. +# +# Configuration subroutine to validate and canonicalize a configuration type. +# Supply the specified configuration type as an argument. +# If it is invalid, we print an error message on stderr and exit with code 1. +# Otherwise, we print the canonical config type on stdout and succeed. + +# You can get the latest version of this script from: +# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub + +# This file is supposed to be the same for all GNU packages +# and recognize all the CPU types, system types and aliases +# that are meaningful with *any* GNU software. +# Each package is responsible for reporting which valid configurations +# it does not support. The user should be able to distinguish +# a failure to support a valid configuration from a meaningless +# configuration. + +# The goal of this file is to map all the various variations of a given +# machine specification into a single specification in the form: +# CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM +# or in some cases, the newer four-part form: +# CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM +# It is wrong to echo any other type of specification. + +me=`echo "$0" | sed -e 's,.*/,,'` + +usage="\ +Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS + +Canonicalize a configuration name. + +Options: + -h, --help print this help, then exit + -t, --time-stamp print date of last modification, then exit + -v, --version print version number, then exit + +Report bugs and patches to <config-patches@gnu.org>." + +version="\ +GNU config.sub ($timestamp) + +Copyright 1992-2018 Free Software Foundation, Inc. + +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." + +help=" +Try \`$me --help' for more information." + +# Parse command line +while test $# -gt 0 ; do + case $1 in + --time-stamp | --time* | -t ) + echo "$timestamp" ; exit ;; + --version | -v ) + echo "$version" ; exit ;; + --help | --h* | -h ) + echo "$usage"; exit ;; + -- ) # Stop option processing + shift; break ;; + - ) # Use stdin as input. + break ;; + -* ) + echo "$me: invalid option $1$help" + exit 1 ;; + + *local*) + # First pass through any local machine types. + echo "$1" + exit ;; + + * ) + break ;; + esac +done + +case $# in + 0) echo "$me: missing argument$help" >&2 + exit 1;; + 1) ;; + *) echo "$me: too many arguments$help" >&2 + exit 1;; +esac + +# Split fields of configuration type +IFS="-" read -r field1 field2 field3 field4 <<EOF +$1 +EOF + +# Separate into logical components for further validation +case $1 in + *-*-*-*-*) + echo Invalid configuration \`"$1"\': more than four components >&2 + exit 1 + ;; + *-*-*-*) + basic_machine=$field1-$field2 + os=$field3-$field4 + ;; + *-*-*) + # Ambiguous whether COMPANY is present, or skipped and KERNEL-OS is two + # parts + maybe_os=$field2-$field3 + case $maybe_os in + nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc \ + | linux-newlib* | linux-musl* | linux-uclibc* | uclinux-uclibc* \ + | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* \ + | netbsd*-eabi* | kopensolaris*-gnu* | cloudabi*-eabi* \ + | storm-chaos* | os2-emx* | rtmk-nova*) + basic_machine=$field1 + os=$maybe_os + ;; + android-linux) + basic_machine=$field1-unknown + os=linux-android + ;; + *) + basic_machine=$field1-$field2 + os=$field3 + ;; + esac + ;; + *-*) + # A lone config we happen to match not fitting any patern + case $field1-$field2 in + decstation-3100) + basic_machine=mips-dec + os= + ;; + *-*) + # Second component is usually, but not always the OS + case $field2 in + # Prevent following clause from handling this valid os + sun*os*) + basic_machine=$field1 + os=$field2 + ;; + # Manufacturers + dec* | mips* | sequent* | encore* | pc533* | sgi* | sony* \ + | att* | 7300* | 3300* | delta* | motorola* | sun[234]* \ + | unicom* | ibm* | next | hp | isi* | apollo | altos* \ + | convergent* | ncr* | news | 32* | 3600* | 3100* \ + | hitachi* | c[123]* | convex* | sun | crds | omron* | dg \ + | ultra | tti* | harris | dolphin | highlevel | gould \ + | cbm | ns | masscomp | apple | axis | knuth | cray \ + | microblaze* | sim | cisco \ + | oki | wec | wrs | winbond) + basic_machine=$field1-$field2 + os= + ;; + *) + basic_machine=$field1 + os=$field2 + ;; + esac + ;; + esac + ;; + *) + # Convert single-component short-hands not valid as part of + # multi-component configurations. + case $field1 in + 386bsd) + basic_machine=i386-pc + os=bsd + ;; + a29khif) + basic_machine=a29k-amd + os=udi + ;; + adobe68k) + basic_machine=m68010-adobe + os=scout + ;; + alliant) + basic_machine=fx80-alliant + os= + ;; + altos | altos3068) + basic_machine=m68k-altos + os= + ;; + am29k) + basic_machine=a29k-none + os=bsd + ;; + amdahl) + basic_machine=580-amdahl + os=sysv + ;; + amiga) + basic_machine=m68k-unknown + os= + ;; + amigaos | amigados) + basic_machine=m68k-unknown + os=amigaos + ;; + amigaunix | amix) + basic_machine=m68k-unknown + os=sysv4 + ;; + apollo68) + basic_machine=m68k-apollo + os=sysv + ;; + apollo68bsd) + basic_machine=m68k-apollo + os=bsd + ;; + aros) + basic_machine=i386-pc + os=aros + ;; + aux) + basic_machine=m68k-apple + os=aux + ;; + balance) + basic_machine=ns32k-sequent + os=dynix + ;; + blackfin) + basic_machine=bfin-unknown + os=linux + ;; + cegcc) + basic_machine=arm-unknown + os=cegcc + ;; + convex-c1) + basic_machine=c1-convex + os=bsd + ;; + convex-c2) + basic_machine=c2-convex + os=bsd + ;; + convex-c32) + basic_machine=c32-convex + os=bsd + ;; + convex-c34) + basic_machine=c34-convex + os=bsd + ;; + convex-c38) + basic_machine=c38-convex + os=bsd + ;; + cray) + basic_machine=j90-cray + os=unicos + ;; + crds | unos) + basic_machine=m68k-crds + os= + ;; + da30) + basic_machine=m68k-da30 + os= + ;; + decstation | pmax | pmin | dec3100 | decstatn) + basic_machine=mips-dec + os= + ;; + delta88) + basic_machine=m88k-motorola + os=sysv3 + ;; + dicos) + basic_machine=i686-pc + os=dicos + ;; + djgpp) + basic_machine=i586-pc + os=msdosdjgpp + ;; + ebmon29k) + basic_machine=a29k-amd + os=ebmon + ;; + es1800 | OSE68k | ose68k | ose | OSE) + basic_machine=m68k-ericsson + os=ose + ;; + gmicro) + basic_machine=tron-gmicro + os=sysv + ;; + go32) + basic_machine=i386-pc + os=go32 + ;; + h8300hms) + basic_machine=h8300-hitachi + os=hms + ;; + h8300xray) + basic_machine=h8300-hitachi + os=xray + ;; + h8500hms) + basic_machine=h8500-hitachi + os=hms + ;; + harris) + basic_machine=m88k-harris + os=sysv3 + ;; + hp300) + basic_machine=m68k-hp + ;; + hp300bsd) + basic_machine=m68k-hp + os=bsd + ;; + hp300hpux) + basic_machine=m68k-hp + os=hpux + ;; + hppaosf) + basic_machine=hppa1.1-hp + os=osf + ;; + hppro) + basic_machine=hppa1.1-hp + os=proelf + ;; + i386mach) + basic_machine=i386-mach + os=mach + ;; + vsta) + basic_machine=i386-pc + os=vsta + ;; + isi68 | isi) + basic_machine=m68k-isi + os=sysv + ;; + m68knommu) + basic_machine=m68k-unknown + os=linux + ;; + magnum | m3230) + basic_machine=mips-mips + os=sysv + ;; + merlin) + basic_machine=ns32k-utek + os=sysv + ;; + mingw64) + basic_machine=x86_64-pc + os=mingw64 + ;; + mingw32) + basic_machine=i686-pc + os=mingw32 + ;; + mingw32ce) + basic_machine=arm-unknown + os=mingw32ce + ;; + monitor) + basic_machine=m68k-rom68k + os=coff + ;; + morphos) + basic_machine=powerpc-unknown + os=morphos + ;; + moxiebox) + basic_machine=moxie-unknown + os=moxiebox + ;; + msdos) + basic_machine=i386-pc + os=msdos + ;; + msys) + basic_machine=i686-pc + os=msys + ;; + mvs) + basic_machine=i370-ibm + os=mvs + ;; + nacl) + basic_machine=le32-unknown + os=nacl + ;; + ncr3000) + basic_machine=i486-ncr + os=sysv4 + ;; + netbsd386) + basic_machine=i386-pc + os=netbsd + ;; + netwinder) + basic_machine=armv4l-rebel + os=linux + ;; + news | news700 | news800 | news900) + basic_machine=m68k-sony + os=newsos + ;; + news1000) + basic_machine=m68030-sony + os=newsos + ;; + necv70) + basic_machine=v70-nec + os=sysv + ;; + nh3000) + basic_machine=m68k-harris + os=cxux + ;; + nh[45]000) + basic_machine=m88k-harris + os=cxux + ;; + nindy960) + basic_machine=i960-intel + os=nindy + ;; + mon960) + basic_machine=i960-intel + os=mon960 + ;; + nonstopux) + basic_machine=mips-compaq + os=nonstopux + ;; + os400) + basic_machine=powerpc-ibm + os=os400 + ;; + OSE68000 | ose68000) + basic_machine=m68000-ericsson + os=ose + ;; + os68k) + basic_machine=m68k-none + os=os68k + ;; + paragon) + basic_machine=i860-intel + os=osf + ;; + parisc) + basic_machine=hppa-unknown + os=linux + ;; + pw32) + basic_machine=i586-unknown + os=pw32 + ;; + rdos | rdos64) + basic_machine=x86_64-pc + os=rdos + ;; + rdos32) + basic_machine=i386-pc + os=rdos + ;; + rom68k) + basic_machine=m68k-rom68k + os=coff + ;; + sa29200) + basic_machine=a29k-amd + os=udi + ;; + sei) + basic_machine=mips-sei + os=seiux + ;; + sequent) + basic_machine=i386-sequent + os= + ;; + sps7) + basic_machine=m68k-bull + os=sysv2 + ;; + st2000) + basic_machine=m68k-tandem + os= + ;; + stratus) + basic_machine=i860-stratus + os=sysv4 + ;; + sun2) + basic_machine=m68000-sun + os= + ;; + sun2os3) + basic_machine=m68000-sun + os=sunos3 + ;; + sun2os4) + basic_machine=m68000-sun + os=sunos4 + ;; + sun3) + basic_machine=m68k-sun + os= + ;; + sun3os3) + basic_machine=m68k-sun + os=sunos3 + ;; + sun3os4) + basic_machine=m68k-sun + os=sunos4 + ;; + sun4) + basic_machine=sparc-sun + os= + ;; + sun4os3) + basic_machine=sparc-sun + os=sunos3 + ;; + sun4os4) + basic_machine=sparc-sun + os=sunos4 + ;; + sun4sol2) + basic_machine=sparc-sun + os=solaris2 + ;; + sun386 | sun386i | roadrunner) + basic_machine=i386-sun + os= + ;; + sv1) + basic_machine=sv1-cray + os=unicos + ;; + symmetry) + basic_machine=i386-sequent + os=dynix + ;; + t3e) + basic_machine=alphaev5-cray + os=unicos + ;; + t90) + basic_machine=t90-cray + os=unicos + ;; + toad1) + basic_machine=pdp10-xkl + os=tops20 + ;; + tpf) + basic_machine=s390x-ibm + os=tpf + ;; + udi29k) + basic_machine=a29k-amd + os=udi + ;; + ultra3) + basic_machine=a29k-nyu + os=sym1 + ;; + v810 | necv810) + basic_machine=v810-nec + os=none + ;; + vaxv) + basic_machine=vax-dec + os=sysv + ;; + vms) + basic_machine=vax-dec + os=vms + ;; + vxworks960) + basic_machine=i960-wrs + os=vxworks + ;; + vxworks68) + basic_machine=m68k-wrs + os=vxworks + ;; + vxworks29k) + basic_machine=a29k-wrs + os=vxworks + ;; + xbox) + basic_machine=i686-pc + os=mingw32 + ;; + ymp) + basic_machine=ymp-cray + os=unicos + ;; + *) + basic_machine=$1 + os= + ;; + esac + ;; +esac + +# Decode 1-component or ad-hoc basic machines +case $basic_machine in + # Here we handle the default manufacturer of certain CPU types. It is in + # some cases the only manufacturer, in others, it is the most popular. + w89k) + cpu=hppa1.1 + vendor=winbond + ;; + op50n) + cpu=hppa1.1 + vendor=oki + ;; + op60c) + cpu=hppa1.1 + vendor=oki + ;; + ibm*) + cpu=i370 + vendor=ibm + ;; + orion105) + cpu=clipper + vendor=highlevel + ;; + mac | mpw | mac-mpw) + cpu=m68k + vendor=apple + ;; + pmac | pmac-mpw) + cpu=powerpc + vendor=apple + ;; + + # Recognize the various machine names and aliases which stand + # for a CPU type and a company and sometimes even an OS. + 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) + cpu=m68000 + vendor=att + ;; + 3b*) + cpu=we32k + vendor=att + ;; + bluegene*) + cpu=powerpc + vendor=ibm + os=cnk + ;; + decsystem10* | dec10*) + cpu=pdp10 + vendor=dec + os=tops10 + ;; + decsystem20* | dec20*) + cpu=pdp10 + vendor=dec + os=tops20 + ;; + delta | 3300 | motorola-3300 | motorola-delta \ + | 3300-motorola | delta-motorola) + cpu=m68k + vendor=motorola + ;; + dpx2*) + cpu=m68k + vendor=bull + os=sysv3 + ;; + encore | umax | mmax) + cpu=ns32k + vendor=encore + ;; + elxsi) + cpu=elxsi + vendor=elxsi + os=${os:-bsd} + ;; + fx2800) + cpu=i860 + vendor=alliant + ;; + genix) + cpu=ns32k + vendor=ns + ;; + h3050r* | hiux*) + cpu=hppa1.1 + vendor=hitachi + os=hiuxwe2 + ;; + hp3k9[0-9][0-9] | hp9[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + hp9k2[0-9][0-9] | hp9k31[0-9]) + cpu=m68000 + vendor=hp + ;; + hp9k3[2-9][0-9]) + cpu=m68k + vendor=hp + ;; + hp9k6[0-9][0-9] | hp6[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + hp9k7[0-79][0-9] | hp7[0-79][0-9]) + cpu=hppa1.1 + vendor=hp + ;; + hp9k78[0-9] | hp78[0-9]) + # FIXME: really hppa2.0-hp + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) + # FIXME: really hppa2.0-hp + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[0-9][13679] | hp8[0-9][13679]) + cpu=hppa1.1 + vendor=hp + ;; + hp9k8[0-9][0-9] | hp8[0-9][0-9]) + cpu=hppa1.0 + vendor=hp + ;; + i*86v32) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=sysv32 + ;; + i*86v4*) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=sysv4 + ;; + i*86v) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=sysv + ;; + i*86sol2) + cpu=`echo "$1" | sed -e 's/86.*/86/'` + vendor=pc + os=solaris2 + ;; + j90 | j90-cray) + cpu=j90 + vendor=cray + os=${os:-unicos} + ;; + iris | iris4d) + cpu=mips + vendor=sgi + case $os in + irix*) + ;; + *) + os=irix4 + ;; + esac + ;; + miniframe) + cpu=m68000 + vendor=convergent + ;; + *mint | mint[0-9]* | *MiNT | *MiNT[0-9]*) + cpu=m68k + vendor=atari + os=mint + ;; + news-3600 | risc-news) + cpu=mips + vendor=sony + os=newsos + ;; + next | m*-next) + cpu=m68k + vendor=next + case $os in + nextstep* ) + ;; + ns2*) + os=nextstep2 + ;; + *) + os=nextstep3 + ;; + esac + ;; + np1) + cpu=np1 + vendor=gould + ;; + op50n-* | op60c-*) + cpu=hppa1.1 + vendor=oki + os=proelf + ;; + pa-hitachi) + cpu=hppa1.1 + vendor=hitachi + os=hiuxwe2 + ;; + pbd) + cpu=sparc + vendor=tti + ;; + pbb) + cpu=m68k + vendor=tti + ;; + pc532) + cpu=ns32k + vendor=pc532 + ;; + pn) + cpu=pn + vendor=gould + ;; + power) + cpu=power + vendor=ibm + ;; + ps2) + cpu=i386 + vendor=ibm + ;; + rm[46]00) + cpu=mips + vendor=siemens + ;; + rtpc | rtpc-*) + cpu=romp + vendor=ibm + ;; + sde) + cpu=mipsisa32 + vendor=sde + os=${os:-elf} + ;; + simso-wrs) + cpu=sparclite + vendor=wrs + os=vxworks + ;; + tower | tower-32) + cpu=m68k + vendor=ncr + ;; + vpp*|vx|vx-*) + cpu=f301 + vendor=fujitsu + ;; + w65) + cpu=w65 + vendor=wdc + ;; + w89k-*) + cpu=hppa1.1 + vendor=winbond + os=proelf + ;; + none) + cpu=none + vendor=none + ;; + leon|leon[3-9]) + cpu=sparc + vendor=$basic_machine + ;; + leon-*|leon[3-9]-*) + cpu=sparc + vendor=`echo "$basic_machine" | sed 's/-.*//'` + ;; + + *-*) + IFS="-" read -r cpu vendor <<EOF +$basic_machine +EOF + ;; + # We use `pc' rather than `unknown' + # because (1) that's what they normally are, and + # (2) the word "unknown" tends to confuse beginning users. + i*86 | x86_64) + cpu=$basic_machine + vendor=pc + ;; + # These rules are duplicated from below for sake of the special case above; + # i.e. things that normalized to x86 arches should also default to "pc" + pc98) + cpu=i386 + vendor=pc + ;; + x64 | amd64) + cpu=x86_64 + vendor=pc + ;; + # Recognize the basic CPU types without company name. + *) + cpu=$basic_machine + vendor=unknown + ;; +esac + +unset -v basic_machine + +# Decode basic machines in the full and proper CPU-Company form. +case $cpu-$vendor in + # Here we handle the default manufacturer of certain CPU types in cannonical form. It is in + # some cases the only manufacturer, in others, it is the most popular. + craynv-unknown) + vendor=cray + os=${os:-unicosmp} + ;; + c90-unknown | c90-cray) + vendor=cray + os=${os:-unicos} + ;; + fx80-unknown) + vendor=alliant + ;; + romp-unknown) + vendor=ibm + ;; + mmix-unknown) + vendor=knuth + ;; + microblaze-unknown | microblazeel-unknown) + vendor=xilinx + ;; + rs6000-unknown) + vendor=ibm + ;; + vax-unknown) + vendor=dec + ;; + pdp11-unknown) + vendor=dec + ;; + we32k-unknown) + vendor=att + ;; + cydra-unknown) + vendor=cydrome + ;; + i370-ibm*) + vendor=ibm + ;; + orion-unknown) + vendor=highlevel + ;; + xps-unknown | xps100-unknown) + cpu=xps100 + vendor=honeywell + ;; + + # Here we normalize CPU types with a missing or matching vendor + dpx20-unknown | dpx20-bull) + cpu=rs6000 + vendor=bull + os=${os:-bosx} + ;; + + # Here we normalize CPU types irrespective of the vendor + amd64-*) + cpu=x86_64 + ;; + blackfin-*) + cpu=bfin + os=linux + ;; + c54x-*) + cpu=tic54x + ;; + c55x-*) + cpu=tic55x + ;; + c6x-*) + cpu=tic6x + ;; + e500v[12]-*) + cpu=powerpc + os=$os"spe" + ;; + mips3*-*) + cpu=mips64 + ;; + ms1-*) + cpu=mt + ;; + m68knommu-*) + cpu=m68k + os=linux + ;; + m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*) + cpu=s12z + ;; + openrisc-*) + cpu=or32 + ;; + parisc-*) + cpu=hppa + os=linux + ;; + pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) + cpu=i586 + ;; + pentiumpro-* | p6-* | 6x86-* | athlon-* | athalon_*-*) + cpu=i686 + ;; + pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) + cpu=i686 + ;; + pentium4-*) + cpu=i786 + ;; + pc98-*) + cpu=i386 + ;; + ppc-* | ppcbe-*) + cpu=powerpc + ;; + ppcle-* | powerpclittle-*) + cpu=powerpcle + ;; + ppc64-*) + cpu=powerpc64 + ;; + ppc64le-* | powerpc64little-*) + cpu=powerpc64le + ;; + sb1-*) + cpu=mipsisa64sb1 + ;; + sb1el-*) + cpu=mipsisa64sb1el + ;; + sh5e[lb]-*) + cpu=`echo "$cpu" | sed 's/^\(sh.\)e\(.\)$/\1\2e/'` + ;; + spur-*) + cpu=spur + ;; + strongarm-* | thumb-*) + cpu=arm + ;; + tx39-*) + cpu=mipstx39 + ;; + tx39el-*) + cpu=mipstx39el + ;; + x64-*) + cpu=x86_64 + ;; + xscale-* | xscalee[bl]-*) + cpu=`echo "$cpu" | sed 's/^xscale/arm/'` + ;; + + # Recognize the cannonical CPU Types that limit and/or modify the + # company names they are paired with. + cr16-*) + os=${os:-elf} + ;; + crisv32-* | etraxfs*-*) + cpu=crisv32 + vendor=axis + ;; + cris-* | etrax*-*) + cpu=cris + vendor=axis + ;; + crx-*) + os=${os:-elf} + ;; + neo-tandem) + cpu=neo + vendor=tandem + ;; + nse-tandem) + cpu=nse + vendor=tandem + ;; + nsr-tandem) + cpu=nsr + vendor=tandem + ;; + nsv-tandem) + cpu=nsv + vendor=tandem + ;; + nsx-tandem) + cpu=nsx + vendor=tandem + ;; + s390-*) + cpu=s390 + vendor=ibm + ;; + s390x-*) + cpu=s390x + vendor=ibm + ;; + tile*-*) + os=${os:-linux-gnu} + ;; + + *) + # Recognize the cannonical CPU types that are allowed with any + # company name. + case $cpu in + 1750a | 580 \ + | a29k \ + | aarch64 | aarch64_be \ + | abacus \ + | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] \ + | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] \ + | alphapca5[67] | alpha64pca5[67] \ + | am33_2.0 \ + | arc | arceb \ + | arm | arm[lb]e | arme[lb] | armv* \ + | avr | avr32 \ + | asmjs \ + | ba \ + | be32 | be64 \ + | bfin | bs2000 \ + | c[123]* | c30 | [cjt]90 | c4x \ + | c8051 | clipper | craynv | csky | cydra \ + | d10v | d30v | dlx | dsp16xx \ + | e2k | elxsi | epiphany \ + | f30[01] | f700 | fido | fr30 | frv | ft32 | fx80 \ + | h8300 | h8500 \ + | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ + | hexagon \ + | i370 | i*86 | i860 | i960 | ia16 | ia64 \ + | ip2k | iq2000 \ + | k1om \ + | le32 | le64 \ + | lm32 \ + | m32c | m32r | m32rle \ + | m5200 | m68000 | m680[012346]0 | m68360 | m683?2 | m68k | v70 | w65 \ + | m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip \ + | m88110 | m88k | maxq | mb | mcore | mep | metag \ + | microblaze | microblazeel \ + | mips | mipsbe | mipseb | mipsel | mipsle \ + | mips16 \ + | mips64 | mips64el \ + | mips64octeon | mips64octeonel \ + | mips64orion | mips64orionel \ + | mips64r5900 | mips64r5900el \ + | mips64vr | mips64vrel \ + | mips64vr4100 | mips64vr4100el \ + | mips64vr4300 | mips64vr4300el \ + | mips64vr5000 | mips64vr5000el \ + | mips64vr5900 | mips64vr5900el \ + | mipsisa32 | mipsisa32el \ + | mipsisa32r2 | mipsisa32r2el \ + | mipsisa32r6 | mipsisa32r6el \ + | mipsisa64 | mipsisa64el \ + | mipsisa64r2 | mipsisa64r2el \ + | mipsisa64r6 | mipsisa64r6el \ + | mipsisa64sb1 | mipsisa64sb1el \ + | mipsisa64sr71k | mipsisa64sr71kel \ + | mipsr5900 | mipsr5900el \ + | mipstx39 | mipstx39el \ + | mmix \ + | mn10200 | mn10300 \ + | moxie \ + | mt \ + | msp430 \ + | nds32 | nds32le | nds32be \ + | nfp \ + | nios | nios2 | nios2eb | nios2el \ + | none | np1 | ns16k | ns32k \ + | open8 \ + | or1k* \ + | or32 \ + | orion \ + | pdp10 | pdp11 | pj | pjl | pn | power \ + | powerpc | powerpc64 | powerpc64le | powerpcle | powerpcspe \ + | pru \ + | pyramid \ + | riscv | riscv32 | riscv64 \ + | rl78 | romp | rs6000 | rx \ + | score \ + | sh | sh[1234] | sh[24]a | sh[24]ae[lb] | sh[23]e | she[lb] | sh[lb]e \ + | sh[1234]e[lb] | sh[12345][lb]e | sh[23]ele | sh64 | sh64le \ + | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet \ + | sparclite \ + | sparcv8 | sparcv9 | sparcv9b | sparcv9v | sv1 | sx* \ + | spu \ + | tahoe \ + | tic30 | tic4x | tic54x | tic55x | tic6x | tic80 \ + | tron \ + | ubicom32 \ + | v850 | v850e | v850e1 | v850es | v850e2 | v850e2v3 \ + | vax \ + | visium \ + | wasm32 \ + | we32k \ + | x86 | x86_64 | xc16x | xgate | xps100 \ + | xstormy16 | xtensa* \ + | ymp \ + | z8k | z80) + ;; + + *) + echo Invalid configuration \`"$1"\': machine \`"$cpu-$vendor"\' not recognized 1>&2 + exit 1 + ;; + esac + ;; +esac + +# Here we canonicalize certain aliases for manufacturers. +case $vendor in + digital*) + vendor=dec + ;; + commodore*) + vendor=cbm + ;; + *) + ;; +esac + +# Decode manufacturer-specific aliases for certain operating systems. + +if [ x$os != x ] +then +case $os in + # First match some system type aliases that might get confused + # with valid system types. + # solaris* is a basic system type, with this one exception. + auroraux) + os=auroraux + ;; + bluegene*) + os=cnk + ;; + solaris1 | solaris1.*) + os=`echo $os | sed -e 's|solaris1|sunos4|'` + ;; + solaris) + os=solaris2 + ;; + unixware*) + os=sysv4.2uw + ;; + gnu/linux*) + os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` + ;; + # es1800 is here to avoid being matched by es* (a different OS) + es1800*) + os=ose + ;; + # Some version numbers need modification + chorusos*) + os=chorusos + ;; + isc) + os=isc2.2 + ;; + sco6) + os=sco5v6 + ;; + sco5) + os=sco3.2v5 + ;; + sco4) + os=sco3.2v4 + ;; + sco3.2.[4-9]*) + os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` + ;; + sco3.2v[4-9]* | sco5v6*) + # Don't forget version if it is 3.2v4 or newer. + ;; + scout) + # Don't match below + ;; + sco*) + os=sco3.2v2 + ;; + psos*) + os=psos + ;; + # Now accept the basic system types. + # The portable systems comes first. + # Each alternative MUST end in a * to match a version number. + # sysv* is not here because it comes later, after sysvr4. + gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \ + | *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\ + | hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \ + | sym* | kopensolaris* | plan9* \ + | amigaos* | amigados* | msdos* | newsos* | unicos* | aof* \ + | aos* | aros* | cloudabi* | sortix* \ + | nindy* | vxsim* | vxworks* | ebmon* | hms* | mvs* \ + | clix* | riscos* | uniplus* | iris* | isc* | rtu* | xenix* \ + | knetbsd* | mirbsd* | netbsd* \ + | bitrig* | openbsd* | solidbsd* | libertybsd* \ + | ekkobsd* | kfreebsd* | freebsd* | riscix* | lynxos* \ + | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \ + | ptx* | coff* | ecoff* | winnt* | domain* | vsta* \ + | udi* | eabi* | lites* | ieee* | go32* | aux* | hcos* \ + | chorusrdb* | cegcc* | glidix* \ + | cygwin* | msys* | pe* | moss* | proelf* | rtems* \ + | midipix* | mingw32* | mingw64* | linux-gnu* | linux-android* \ + | linux-newlib* | linux-musl* | linux-uclibc* \ + | uxpv* | beos* | mpeix* | udk* | moxiebox* \ + | interix* | uwin* | mks* | rhapsody* | darwin* \ + | openstep* | oskit* | conix* | pw32* | nonstopux* \ + | storm-chaos* | tops10* | tenex* | tops20* | its* \ + | os2* | vos* | palmos* | uclinux* | nucleus* \ + | morphos* | superux* | rtmk* | windiss* \ + | powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \ + | skyos* | haiku* | rdos* | toppers* | drops* | es* \ + | onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \ + | midnightbsd*) + # Remember, each alternative MUST END IN *, to match a version number. + ;; + qnx*) + case $cpu in + x86 | i*86) + ;; + *) + os=nto-$os + ;; + esac + ;; + hiux*) + os=hiuxwe2 + ;; + nto-qnx*) + ;; + nto*) + os=`echo $os | sed -e 's|nto|nto-qnx|'` + ;; + sim | xray | os68k* | v88r* \ + | windows* | osx | abug | netware* | os9* \ + | macos* | mpw* | magic* | mmixware* | mon960* | lnews*) + ;; + linux-dietlibc) + os=linux-dietlibc + ;; + linux*) + os=`echo $os | sed -e 's|linux|linux-gnu|'` + ;; + lynx*178) + os=lynxos178 + ;; + lynx*5) + os=lynxos5 + ;; + lynx*) + os=lynxos + ;; + mac*) + os=`echo "$os" | sed -e 's|mac|macos|'` + ;; + opened*) + os=openedition + ;; + os400*) + os=os400 + ;; + sunos5*) + os=`echo "$os" | sed -e 's|sunos5|solaris2|'` + ;; + sunos6*) + os=`echo "$os" | sed -e 's|sunos6|solaris3|'` + ;; + wince*) + os=wince + ;; + utek*) + os=bsd + ;; + dynix*) + os=bsd + ;; + acis*) + os=aos + ;; + atheos*) + os=atheos + ;; + syllable*) + os=syllable + ;; + 386bsd) + os=bsd + ;; + ctix* | uts*) + os=sysv + ;; + nova*) + os=rtmk-nova + ;; + ns2) + os=nextstep2 + ;; + nsk*) + os=nsk + ;; + # Preserve the version number of sinix5. + sinix5.*) + os=`echo $os | sed -e 's|sinix|sysv|'` + ;; + sinix*) + os=sysv4 + ;; + tpf*) + os=tpf + ;; + triton*) + os=sysv3 + ;; + oss*) + os=sysv3 + ;; + svr4*) + os=sysv4 + ;; + svr3) + os=sysv3 + ;; + sysvr4) + os=sysv4 + ;; + # This must come after sysvr4. + sysv*) + ;; + ose*) + os=ose + ;; + *mint | mint[0-9]* | *MiNT | MiNT[0-9]*) + os=mint + ;; + zvmoe) + os=zvmoe + ;; + dicos*) + os=dicos + ;; + pikeos*) + # Until real need of OS specific support for + # particular features comes up, bare metal + # configurations are quite functional. + case $cpu in + arm*) + os=eabi + ;; + *) + os=elf + ;; + esac + ;; + nacl*) + ;; + ios) + ;; + none) + ;; + *-eabi) + ;; + *) + echo Invalid configuration \`"$1"\': system \`"$os"\' not recognized 1>&2 + exit 1 + ;; +esac +else + +# Here we handle the default operating systems that come with various machines. +# The value should be what the vendor currently ships out the door with their +# machine or put another way, the most popular os provided with the machine. + +# Note that if you're going to try to match "-MANUFACTURER" here (say, +# "-sun"), then you have to tell the case statement up towards the top +# that MANUFACTURER isn't an operating system. Otherwise, code above +# will signal an error saying that MANUFACTURER isn't an operating +# system, and we'll never get to this point. + +case $cpu-$vendor in + score-*) + os=elf + ;; + spu-*) + os=elf + ;; + *-acorn) + os=riscix1.2 + ;; + arm*-rebel) + os=linux + ;; + arm*-semi) + os=aout + ;; + c4x-* | tic4x-*) + os=coff + ;; + c8051-*) + os=elf + ;; + clipper-intergraph) + os=clix + ;; + hexagon-*) + os=elf + ;; + tic54x-*) + os=coff + ;; + tic55x-*) + os=coff + ;; + tic6x-*) + os=coff + ;; + # This must come before the *-dec entry. + pdp10-*) + os=tops20 + ;; + pdp11-*) + os=none + ;; + *-dec | vax-*) + os=ultrix4.2 + ;; + m68*-apollo) + os=domain + ;; + i386-sun) + os=sunos4.0.2 + ;; + m68000-sun) + os=sunos3 + ;; + m68*-cisco) + os=aout + ;; + mep-*) + os=elf + ;; + mips*-cisco) + os=elf + ;; + mips*-*) + os=elf + ;; + or32-*) + os=coff + ;; + *-tti) # must be before sparc entry or we get the wrong os. + os=sysv3 + ;; + sparc-* | *-sun) + os=sunos4.1.1 + ;; + pru-*) + os=elf + ;; + *-be) + os=beos + ;; + *-ibm) + os=aix + ;; + *-knuth) + os=mmixware + ;; + *-wec) + os=proelf + ;; + *-winbond) + os=proelf + ;; + *-oki) + os=proelf + ;; + *-hp) + os=hpux + ;; + *-hitachi) + os=hiux + ;; + i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) + os=sysv + ;; + *-cbm) + os=amigaos + ;; + *-dg) + os=dgux + ;; + *-dolphin) + os=sysv3 + ;; + m68k-ccur) + os=rtu + ;; + m88k-omron*) + os=luna + ;; + *-next) + os=nextstep + ;; + *-sequent) + os=ptx + ;; + *-crds) + os=unos + ;; + *-ns) + os=genix + ;; + i370-*) + os=mvs + ;; + *-gould) + os=sysv + ;; + *-highlevel) + os=bsd + ;; + *-encore) + os=bsd + ;; + *-sgi) + os=irix + ;; + *-siemens) + os=sysv4 + ;; + *-masscomp) + os=rtu + ;; + f30[01]-fujitsu | f700-fujitsu) + os=uxpv + ;; + *-rom68k) + os=coff + ;; + *-*bug) + os=coff + ;; + *-apple) + os=macos + ;; + *-atari*) + os=mint + ;; + *-wrs) + os=vxworks + ;; + *) + os=none + ;; +esac +fi + +# Here we handle the case where we know the os, and the CPU type, but not the +# manufacturer. We pick the logical manufacturer. +case $vendor in + unknown) + case $os in + riscix*) + vendor=acorn + ;; + sunos*) + vendor=sun + ;; + cnk*|-aix*) + vendor=ibm + ;; + beos*) + vendor=be + ;; + hpux*) + vendor=hp + ;; + mpeix*) + vendor=hp + ;; + hiux*) + vendor=hitachi + ;; + unos*) + vendor=crds + ;; + dgux*) + vendor=dg + ;; + luna*) + vendor=omron + ;; + genix*) + vendor=ns + ;; + clix*) + vendor=intergraph + ;; + mvs* | opened*) + vendor=ibm + ;; + os400*) + vendor=ibm + ;; + ptx*) + vendor=sequent + ;; + tpf*) + vendor=ibm + ;; + vxsim* | vxworks* | windiss*) + vendor=wrs + ;; + aux*) + vendor=apple + ;; + hms*) + vendor=hitachi + ;; + mpw* | macos*) + vendor=apple + ;; + *mint | mint[0-9]* | *MiNT | MiNT[0-9]*) + vendor=atari + ;; + vos*) + vendor=stratus + ;; + esac + ;; +esac + +echo "$cpu-$vendor-$os" +exit + +# Local variables: +# eval: (add-hook 'before-save-hook 'time-stamp) +# time-stamp-start: "timestamp='" +# time-stamp-format: "%:y-%02m-%02d" +# time-stamp-end: "'" +# End: diff --git a/configure b/configure new file mode 100755 index 0000000..b06480d --- /dev/null +++ b/configure @@ -0,0 +1,20140 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.69 for cppunit 1.15.1. +# +# +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi + + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +as_myself= +case $0 in #(( + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 +fi + +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 + + test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( + ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO + PATH=/empty FPATH=/empty; export PATH FPATH + test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ + || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false +done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + + + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi +else + as_ln_s='cp -pR' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_test_x='test -x' +as_executable_p=as_fn_executable_p + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + +SHELL=${CONFIG_SHELL-/bin/sh} + + +test -n "$DJDIR" || exec 7<&0 </dev/null +exec 6>&1 + +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_clean_files= +ac_config_libobj_dir=. +LIBOBJS= +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= + +# Identity of this package. +PACKAGE_NAME='cppunit' +PACKAGE_TARNAME='cppunit' +PACKAGE_VERSION='1.15.1' +PACKAGE_STRING='cppunit 1.15.1' +PACKAGE_BUGREPORT='' +PACKAGE_URL='' + +# Factoring default headers for most tests. +ac_includes_default="\ +#include <stdio.h> +#ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +#endif +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif +#ifdef STDC_HEADERS +# include <stdlib.h> +# include <stddef.h> +#else +# ifdef HAVE_STDLIB_H +# include <stdlib.h> +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H +# include <memory.h> +# endif +# include <string.h> +#endif +#ifdef HAVE_STRINGS_H +# include <strings.h> +#endif +#ifdef HAVE_INTTYPES_H +# include <inttypes.h> +#endif +#ifdef HAVE_STDINT_H +# include <stdint.h> +#endif +#ifdef HAVE_UNISTD_H +# include <unistd.h> +#endif" + +ac_subst_vars='am__EXEEXT_FALSE +am__EXEEXT_TRUE +LTLIBOBJS +LIBOBJS +CPPUNIT_CXXFLAGS +LT_AGE +LT_REVISION +LT_CURRENT +LT_RELEASE +CPPUNIT_INTERFACE_AGE +CPPUNIT_BINARY_AGE +CPPUNIT_MICRO_VERSION +CPPUNIT_MINOR_VERSION +CPPUNIT_MAJOR_VERSION +HAVE_CXX11 +enable_latex_docs +enable_html_docs +enable_dot +DOC_FALSE +DOC_TRUE +DOT +DOXYGEN +LIBADD_DL +AS +CXXCPP +LT_SYS_LIBRARY_PATH +OTOOL64 +OTOOL +LIPO +NMEDIT +DSYMUTIL +MANIFEST_TOOL +RANLIB +ac_ct_AR +AR +DLLTOOL +OBJDUMP +NM +ac_ct_DUMPBIN +DUMPBIN +LD +FGREP +EGREP +GREP +SED +host_os +host_vendor +host_cpu +host +build_os +buil |