*.cc: Remove spaces, make sure testcases return zero.

2001-05-11   Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
	* testsuite/config/default.exp: Update bugs email address.

From-SVN: r41997
This commit is contained in:
Benjamin Kosnik 2001-05-12 16:53:08 +00:00 committed by Benjamin Kosnik
parent 90e0c41055
commit 04d930e6d4
92 changed files with 53 additions and 381 deletions

View File

@ -1,3 +1,8 @@
2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
* testsuite/config/default.exp: Update bugs email address.
2001-05-11 Richard Henderson <rth@redhat.com>
* libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
@ -17,7 +22,6 @@
Change LDFLAGS to LIBS.
Consistently name procedures libstdc++-XXX.
* testsuite/libstdc++.tests/tests.exp: Use new procedure names.
* testsuite/config/default.exp: Kill spaces.
2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>

View File

@ -125,11 +125,3 @@ int main(void)
return 0;
}

View File

@ -22,14 +22,9 @@
#include <cstdio>
int main(void)
{
// Make sure size_t is in namespace std
std::size_t i = 5; // { dg-do compile }
std::size_t i = 5;
return 0;
}

View File

@ -32,7 +32,7 @@ void test01()
void test02()
{
// Make sure size_t is in namespace std
std::size_t i = 5; // { dg-do compile }
std::size_t i = 5;
}
int main()
@ -41,6 +41,3 @@ int main()
test02();
return 0;
}

View File

@ -26,11 +26,6 @@
int main(void)
{
// Make sure size_t is in namespace std
// { dg-do compile }
std::size_t i = std::strlen("tibet shop/san francisco (415) 982-0326");
return 0;
}

View File

@ -26,10 +26,6 @@
int main(void)
{
// Make sure size_t is in namespace std
std::size_t i = 5; // { dg-do compile }
std::size_t i = 5;
return 0;
}

View File

@ -26,6 +26,6 @@
int main(void)
{
// Make sure size_t is in namespace std
std::size_t i = 5; // { dg-do compile }
std::size_t i = 5;
return 0;
}

View File

@ -23,14 +23,10 @@
#if _GLIBCPP_USE_WCHAR_T
#include <cwctype>
// Make sure wint_t is in namespace std
std::wint_t i = 5; // { dg-do compile }
std::wint_t i = 5;
#endif
int main(void)
{
return 0;
}

View File

@ -20,7 +20,7 @@
// 17.4.1.2 Headers, fstream
#include <fstream> // { dg-do compile }
#include <fstream>
#include <debug_assert.h>
@ -28,7 +28,3 @@ int main(void)
{
return 0;
}

View File

@ -20,7 +20,7 @@
// 17.4.1.2 Headers, iomanip
#include <iomanip> // { dg-do compile }
#include <iomanip>
#include <debug_assert.h>
@ -28,7 +28,3 @@ int main(void)
{
return 0;
}

View File

@ -20,7 +20,7 @@
// 17.4.1.2 Headers, ios
#include <ios> // { dg-do compile }
#include <ios>
#include <debug_assert.h>
@ -28,7 +28,3 @@ int main(void)
{
return 0;
}

View File

@ -20,7 +20,7 @@
// 17.4.1.2 Headers, iosfwd
#include <iosfwd> // { dg-do compile }
#include <iosfwd>
#include <debug_assert.h>
@ -28,7 +28,3 @@ int main(void)
{
return 0;
}

View File

@ -20,7 +20,7 @@
// 17.4.1.2 Headers, iostream
#include <iostream> // { dg-do compile }
#include <iostream>
#include <debug_assert.h>
@ -28,7 +28,3 @@ int main(void)
{
return 0;
}

View File

@ -20,7 +20,7 @@
// 17.4.1.2 Headers, istream
#include <istream> // { dg-do compile }
#include <istream>
#include <debug_assert.h>
@ -28,7 +28,3 @@ int main(void)
{
return 0;
}

View File

@ -20,7 +20,7 @@
// 17.4.1.2 Headers, ostream
#include <ostream> // { dg-do compile }
#include <ostream>
#include <debug_assert.h>
@ -28,7 +28,3 @@ int main(void)
{
return 0;
}

View File

@ -20,7 +20,7 @@
// 17.4.1.2 Headers, sstream
#include <sstream> // { dg-do compile }
#include <sstream>
#include <debug_assert.h>
@ -28,7 +28,3 @@ int main(void)
{
return 0;
}

View File

@ -20,7 +20,7 @@
// 17.4.1.2 Headers, streambuf
#include <streambuf> // { dg-do compile }
#include <streambuf>
#include <debug_assert.h>

View File

@ -80,4 +80,4 @@
#include <cwctype>
#endif
int main() { } // { dg-do compile }
int main() { return 0; }

View File

@ -67,4 +67,4 @@
#include <wctype.h>
#endif
int main() { } // { dg-do compile }
int main() { return 0; }

View File

@ -67,4 +67,4 @@
#include <cwctype>
#endif
int main() { } // { dg-do compile }
int main() { return 0; }

View File

@ -86,8 +86,3 @@ int main()
return 0;
}

View File

@ -160,9 +160,5 @@ bool test01(void)
int main()
{
test01();
return 0;
}

View File

@ -89,7 +89,3 @@ int main()
return 0;
}

View File

@ -175,5 +175,3 @@ int main()
return 0;
}

View File

@ -200,9 +200,5 @@ int main()
#if _GLIBCPP_USE_WCHAR_T
test02();
#endif
return 0;
}

View File

@ -135,9 +135,3 @@ main()
return 0;
}

View File

@ -180,12 +180,5 @@ int main()
{
test01();
test02();
return 0;
}

View File

@ -89,12 +89,6 @@ bool test01(void)
int main()
{
test01();
return 0;
}

View File

@ -194,9 +194,5 @@ bool test01(void)
int main()
{
test01();
return 0;
}

View File

@ -190,9 +190,5 @@ int test01(void)
int main()
{
test01();
return 0;
}

View File

@ -41,9 +41,9 @@ bool test01(void)
csize_type npos = std::string::npos;
csize_type csz01, csz02;
const char str_lit01[] = "sailing grand traverse bay
from Elk Rapids to the point reminds me of miles";
const std::string str01(str_lit01);
// { dg-warning "string literals" "" { xfail *-*-* } 45 }
const std::string str01("sailing grand traverse bay
from Elk Rapids to the point reminds me of miles");
const std::string str02("sailing");
const std::string str03("grand");
const std::string str04("traverse");
@ -124,7 +124,7 @@ bool test01(void)
getline(istrs02, str10);
VERIFY( istrs02.fail() );
VERIFY( istrs02.eof() );
VERIFY( str10 == "\t from Elk Rapids to the point reminds me of miles" );
VERIFY( str10 =="\t from Elk Rapids to the point reminds me of miles" );
}
catch(std::exception& fail) {
VERIFY( false ); // shouldn't throw
@ -323,10 +323,3 @@ int main()
test08();
return 0;
}

View File

@ -171,9 +171,5 @@ int main()
{
test01();
test02();
return 0;
}

View File

@ -293,12 +293,8 @@ template<class charT, class traits, class Allocator>
return 0;
}
int main() {
int main()
{
test01();
return 0;
}

View File

@ -52,5 +52,5 @@ int test01(void)
int main()
{
test01();
return 0;
}

View File

@ -86,9 +86,5 @@ bool test01(void)
int main()
{
test01();
return 0;
}

View File

@ -121,4 +121,5 @@ int main()
test01();
test02();
test03();
return 0;
}

View File

@ -76,9 +76,5 @@ bool test01(void)
int main()
{
test01();
return 0;
}

View File

@ -85,6 +85,3 @@ int main ()
return 0;
}

View File

@ -237,6 +237,3 @@ int main ()
return 0;
}

View File

@ -130,6 +130,3 @@ int main ()
return 0;
}

View File

@ -121,6 +121,3 @@ int main ()
return 0;
}

View File

@ -172,5 +172,3 @@ int main() {
test01();
return 0;
}

View File

@ -105,5 +105,3 @@ int main() {
#endif /* !defined(_GLIBCPP_USE_WCHAR_T) */
return 0;
}

View File

@ -239,11 +239,3 @@ int main ()
return 0;
}

View File

@ -135,6 +135,3 @@ int main()
test02();
return 0;
}

View File

@ -68,6 +68,3 @@ int main()
return 0;
}

View File

@ -88,4 +88,3 @@ int main()
return 0;
}

View File

@ -70,4 +70,3 @@ int main ()
69 9
69 4
*/

View File

@ -64,6 +64,3 @@ int main()
test02();
return 0;
}

View File

@ -66,6 +66,3 @@ int main()
return 0;
}

View File

@ -63,7 +63,3 @@ int main()
return 0;
}

View File

@ -158,5 +158,3 @@ int main()
return 0;
}

View File

@ -594,6 +594,5 @@ main(int argc, char **argv)
assert (failures == 0);
#endif
return failures ? 1 : 0;
return 0;
}

View File

@ -96,8 +96,3 @@ int main()
return 0;
}

View File

@ -43,6 +43,3 @@ int main()
{
return 0;
}

View File

@ -44,6 +44,3 @@ int main()
test01();
return 0;
}

View File

@ -33,4 +33,5 @@ int main()
d = (a + 2.0* b );
std::cout << "d[4] = " << d[4] << std::endl;
return 0;
}

View File

@ -34,4 +34,3 @@ int main()
return 0;
}

View File

@ -69,4 +69,3 @@ main()
test04();
return 0;
}

View File

@ -96,4 +96,3 @@ main()
testall<long double>();
return 0;
}

View File

@ -41,6 +41,3 @@ int main()
return 0;
}

View File

@ -586,13 +586,3 @@ int main()
// more surf!!!

View File

@ -85,7 +85,3 @@ main()
test_01();
return 0;
}

View File

@ -171,7 +171,3 @@ int main() {
test03();
return 0;
}

View File

@ -78,4 +78,5 @@ int main()
{
test00();
test01();
return 0;
}

View File

@ -66,7 +66,3 @@ int main(void)
return 0;
}

View File

@ -83,5 +83,3 @@ int main(void)
test02();
return 0;
}

View File

@ -48,7 +48,3 @@ int main(void)
return 0;
}

View File

@ -89,4 +89,3 @@ int main() {
test01();
return 0;
}

View File

@ -146,5 +146,3 @@ int main() {
test02();
return 0;
}

View File

@ -55,5 +55,3 @@ namespace test {
int main() {
return 0;
}

View File

@ -529,21 +529,4 @@ int main()
return 0;
}
// paul miller was right on with riddim warfare!

View File

@ -227,4 +227,3 @@ int main()
return 0;
}

View File

@ -206,8 +206,3 @@ int main()
test03();
return 0;
}

View File

@ -83,9 +83,5 @@ bool test01(void)
int main()
{
test01();
return 0;
}

View File

@ -293,11 +293,3 @@ int main()
test05();
return 0;
}

View File

@ -85,16 +85,3 @@ int main()
test02();
return 0;
}

View File

@ -142,6 +142,7 @@ test02()
typedef std::char_traits<char> traits_type;
bool test = true;
// { dg-warning "string literals" "" { xfail *-*-* } 146 }
const char str_lit01[] = " sun*ra
and his myth science arkestra present
angles and demons @ play
@ -200,6 +201,7 @@ test02()
VERIFY( is_04.gcount() == 64 );
VERIFY( state1 != state2 );
VERIFY( state2 == statefail );
// { dg-warning "string literals" "" { xfail *-*-* } 205 }
VERIFY( !traits_type::compare(" and his myth science arkestra presen", carray1, 65) );
is_04.clear();
@ -232,6 +234,7 @@ test03()
typedef std::char_traits<char> traits_type;
bool test = true;
// { dg-warning "string literals" "" { xfail *-*-* } 238 }
const char str_lit01[] = " sun*ra
& his arkestra, featuring john gilmore:
jazz in silhouette: images and forecasts of tomorrow";
@ -357,6 +360,7 @@ test04()
int
test05()
{
// { dg-warning "string literals" "" { xfail *-*-* } 364 }
const char* charray = "
a
aa
@ -491,12 +495,3 @@ main()
return 0;
}

View File

@ -80,5 +80,3 @@ int main()
test01();
return 0;
}

View File

@ -122,4 +122,3 @@ main()
// test03();
return 0;
}

View File

@ -78,4 +78,5 @@ int main()
{
test00();
test01();
return 0;
}

View File

@ -46,4 +46,3 @@ namespace test {
int main() {
return 0;
}

View File

@ -318,13 +318,3 @@ main()
#endif
return 0;
}

View File

@ -266,4 +266,3 @@ int main()
test06();
return 0;
}

View File

@ -143,4 +143,3 @@ main()
return 0;
}

View File

@ -121,9 +121,5 @@ bool test02()
int main()
{
test01();
return 0;
}

View File

@ -292,11 +292,3 @@ int main()
// test05();
return 0;
}

View File

@ -50,4 +50,5 @@ void test01()
int main()
{
test01();
return 0;
}

View File

@ -347,16 +347,3 @@ int main()
test05();
return 0;
}

View File

@ -441,10 +441,3 @@ int main() {
// more candy!!!

View File

@ -28,7 +28,6 @@
// invalidate any other reasons why the executable file might be covered by
// the GNU General Public License.
#include <vector>
#include <string>
#include <sstream>
@ -49,6 +48,7 @@ test01()
VERIFY( len == 0 );
// Full string sanity check.
// { dg-warning "string literals" "" { xfail *-*-* } 52 }
std::string str02("these golden days, i spend waiting for you:\n
Betty Carter on Verve with I'm Yours and You're Mine.");
__i_start = str02.begin();
@ -159,14 +159,3 @@ main()
return 0;
}

View File

@ -15,7 +15,7 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# Please email any bugs, comments, and/or additions to this file to:
# bug-gcc@prep.ai.mit.edu
# libstdc++@gcc.gnu.org
load_lib "standard.exp"