By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 860
Collapse All | Expand All

(-)applications/kpilot/tests/CMakeLists.txt (-1 / +1 lines)
Lines 5-11 Link Here
5
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
5
set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
6
6
7
# This can be used for finding data files in the source dir
7
# This can be used for finding data files in the source dir
8
add_definitions( -DKDESRCDIR=\\"${CMAKE_CURRENT_SOURCE_DIR}\\" )
8
add_definitions( -DTDESRCDIR=\\"${CMAKE_CURRENT_SOURCE_DIR}\\" )
9
9
10
10
11
set(testconstants_SRCS testconstants.cc)
11
set(testconstants_SRCS testconstants.cc)
(-)tdepim/certmanager/lib/tests/Makefile.am (-1 / +1 lines)
Lines 1-6 Link Here
1
AM_CPPFLAGS = -I$(top_srcdir)/certmanager/lib \
1
AM_CPPFLAGS = -I$(top_srcdir)/certmanager/lib \
2
	-I$(top_srcdir)/libtdenetwork \
2
	-I$(top_srcdir)/libtdenetwork \
3
	$(GPGME_CFLAGS) $(all_includes) -DKDESRCDIR=\"$(srcdir)\"
3
	$(GPGME_CFLAGS) $(all_includes) -DTDESRCDIR=\"$(srcdir)\"
4
4
5
check_PROGRAMS = test_keylister test_keygen test_keyselectiondialog \
5
check_PROGRAMS = test_keylister test_keygen test_keyselectiondialog \
6
		test_cryptoconfig test_gnupgprocessbase test_jobs test_verify
6
		test_cryptoconfig test_gnupgprocessbase test_jobs test_verify
(-)tdepim/certmanager/lib/tests/test_verify.cpp (-4 / +4 lines)
Lines 49-55 Link Here
49
49
50
int main( int argc, char **argv )
50
int main( int argc, char **argv )
51
{
51
{
52
  setenv("GNUPGHOME", KDESRCDIR "/gnupg_home", 1 );
52
  setenv("GNUPGHOME", TDESRCDIR "/gnupg_home", 1 );
53
  setenv("LC_ALL", "C", 1);
53
  setenv("LC_ALL", "C", 1);
54
  setenv("TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-unit-test" ), 1);
54
  setenv("TDEHOME", TQFile::encodeName( TQDir::homeDirPath() + "/.kde-unit-test" ), 1);
55
55
Lines 57-64 Link Here
57
  KCmdLineArgs::init( argc, argv, &aboutData );
57
  KCmdLineArgs::init( argc, argv, &aboutData );
58
  KApplication app( false, false );
58
  KApplication app( false, false );
59
59
60
  const TQString sigFileName = KDESRCDIR "/test.data.sig";
60
  const TQString sigFileName = TDESRCDIR "/test.data.sig";
61
  const TQString dataFileName = KDESRCDIR "/test.data";
61
  const TQString dataFileName = TDESRCDIR "/test.data";
62
62
63
  TQFile sigFile( sigFileName );
63
  TQFile sigFile( sigFileName );
64
  assert( sigFile.open( IO_ReadOnly ) );
64
  assert( sigFile.open( IO_ReadOnly ) );
Lines 77-83 Link Here
77
  assert( sig.creationTime() == 1189650248L );
77
  assert( sig.creationTime() == 1189650248L );
78
  assert( sig.validity() == GpgME::Signature::Full );
78
  assert( sig.validity() == GpgME::Signature::Full );
79
79
80
  const TQString opaqueFileName = KDESRCDIR "/test.data.gpg";
80
  const TQString opaqueFileName = TDESRCDIR "/test.data.gpg";
81
  TQFile opaqueFile( opaqueFileName );
81
  TQFile opaqueFile( opaqueFileName );
82
  assert( opaqueFile.open( IO_ReadOnly ) );
82
  assert( opaqueFile.open( IO_ReadOnly ) );
83
  TQByteArray clearText;
83
  TQByteArray clearText;
(-)tdepim/kmail/tests/Makefile.am (-1 / +1 lines)
Lines 1-5 Link Here
1
INCLUDES = -I$(top_srcdir)/kmail -I$(top_srcdir)/mimelib $(all_includes)
1
INCLUDES = -I$(top_srcdir)/kmail -I$(top_srcdir)/mimelib $(all_includes)
2
AM_CPPFLAGS = -DKDESRCDIR=\"$(srcdir)\"
2
AM_CPPFLAGS = -DTDESRCDIR=\"$(srcdir)\"
3
METASOURCES = AUTO
3
METASOURCES = AUTO
4
4
5
check_LTLIBRARIES = kunittest_storagelayermodule.la \
5
check_LTLIBRARIES = kunittest_storagelayermodule.la \
(-)tdepim/kmail/tests/mimelibtests.cpp (-2 / +2 lines)
Lines 73-82 Link Here
73
{
73
{
74
  // This multipart-mixed mail has a part that starts without headers;
74
  // This multipart-mixed mail has a part that starts without headers;
75
  // the newline after the (empty) headers must be preserved.
75
  // the newline after the (empty) headers must be preserved.
76
  mMultipartMixedMail = readFile( KDESRCDIR "/multipartmixed.mbox" );
76
  mMultipartMixedMail = readFile( TDESRCDIR "/multipartmixed.mbox" );
77
  // This is the full signed mail which was simplified to above.
77
  // This is the full signed mail which was simplified to above.
78
  // Kept around in case we want to do anything else with a signed mail later :)
78
  // Kept around in case we want to do anything else with a signed mail later :)
79
  mSignedMail = readFile( KDESRCDIR "/signedmail.mbox" );
79
  mSignedMail = readFile( TDESRCDIR "/signedmail.mbox" );
80
}
80
}
81
81
82
void MimeLibTester::tearDown()
82
void MimeLibTester::tearDown()
(-)tdepim/ktnef/tests/Makefile.am (-1 / +1 lines)
Lines 1-4 Link Here
1
AM_CPPFLAGS = -I$(top_srcdir)/ktnef $(all_includes) -DKDESRCDIR=\"$(srcdir)\"
1
AM_CPPFLAGS = -I$(top_srcdir)/ktnef $(all_includes) -DTDESRCDIR=\"$(srcdir)\"
2
LDADD = ../lib/libktnef.la $(LIB_TDECORE)
2
LDADD = ../lib/libktnef.la $(LIB_TDECORE)
3
3
4
check_PROGRAMS = parsertest
4
check_PROGRAMS = parsertest
(-)tdepim/ktnef/tests/parsertest.cpp (-3 / +3 lines)
Lines 28-34 Link Here
28
void ParserTest::testSingleAttachment()
28
void ParserTest::testSingleAttachment()
29
{
29
{
30
  KTNEFParser parser;
30
  KTNEFParser parser;
31
  assert( parser.openFile( KDESRCDIR "/one-file.tnef" ) == true );
31
  assert( parser.openFile( TDESRCDIR "/one-file.tnef" ) == true );
32
32
33
  KTNEFMessage *msg = parser.message();
33
  KTNEFMessage *msg = parser.message();
34
  assert( msg != 0 );
34
  assert( msg != 0 );
Lines 45-51 Link Here
45
void ParserTest::testTwoAttachments()
45
void ParserTest::testTwoAttachments()
46
{
46
{
47
  KTNEFParser parser;
47
  KTNEFParser parser;
48
  assert( parser.openFile( KDESRCDIR "/two-files.tnef" ) == true );
48
  assert( parser.openFile( TDESRCDIR "/two-files.tnef" ) == true );
49
49
50
  KTNEFMessage *msg = parser.message();
50
  KTNEFMessage *msg = parser.message();
51
  assert( msg != 0 );
51
  assert( msg != 0 );
Lines 67-73 Link Here
67
void ParserTest::testMAPIAttachments()
67
void ParserTest::testMAPIAttachments()
68
{
68
{
69
  KTNEFParser parser;
69
  KTNEFParser parser;
70
  assert( parser.openFile( KDESRCDIR "/mapi_attach_data_obj.tnef" ) == true );
70
  assert( parser.openFile( TDESRCDIR "/mapi_attach_data_obj.tnef" ) == true );
71
71
72
  KTNEFMessage *msg = parser.message();
72
  KTNEFMessage *msg = parser.message();
73
  assert( msg != 0 );
73
  assert( msg != 0 );
(-)tdesdk/scripts/build-progress.sh (-1 / +1 lines)
Lines 13-19 Link Here
13
13
14
cd $KDELOGDIR
14
cd $KDELOGDIR
15
while true; do 
15
while true; do 
16
    dir=`ls -t | head -n 1 | xargs grep "Entering directory" | tail -n 1 | awk "{print \\$4}" | sed "s'$KDESRCDIR/''g"`
16
    dir=`ls -t | head -n 1 | xargs grep "Entering directory" | tail -n 1 | awk "{print \\$4}" | sed "s'$TDESRCDIR/''g"`
17
    set_title "Building $dir"
17
    set_title "Building $dir"
18
    clear
18
    clear
19
    grep --no-filename -i "time needed" *build* | \
19
    grep --no-filename -i "time needed" *build* | \
(-)tdesdk/scripts/kde-build (-16 / +16 lines)
Lines 47-53 Link Here
47
#
47
#
48
err_install_fail="5"
48
err_install_fail="5"
49
49
50
# The $KDESRCDIR variable wasn't set or contains a non-existant directory.
50
# The $TDESRCDIR variable wasn't set or contains a non-existant directory.
51
#
51
#
52
err_inv_kdesrcdir="6"
52
err_inv_kdesrcdir="6"
53
53
Lines 217-223 Link Here
217
  # command line.
217
  # command line.
218
  #
218
  #
219
  cmd_update="svn"
219
  cmd_update="svn"
220
  if test -d $KDESRCDIR/$module; then
220
  if test -d $TDESRCDIR/$module; then
221
    test -z "$SUBDIR" && { cmd_update="$cmd_update update" ; return; }
221
    test -z "$SUBDIR" && { cmd_update="$cmd_update update" ; return; }
222
    cmd_update="$cmd_update switch -r HEAD"
222
    cmd_update="$cmd_update switch -r HEAD"
223
  else
223
  else
Lines 236-242 Link Here
236
  if [ -n "$CHECKOUT_PARTIAL" -a "$1" = "toponly" ]; then # TODO
236
  if [ -n "$CHECKOUT_PARTIAL" -a "$1" = "toponly" ]; then # TODO
237
    cmd_update="$cmd_update -N"
237
    cmd_update="$cmd_update -N"
238
  fi
238
  fi
239
  if test ! -d $KDESRCDIR/$module; then
239
  if test ! -d $TDESRCDIR/$module; then
240
    cmd_update="$cmd_update $module"
240
    cmd_update="$cmd_update $module"
241
  fi
241
  fi
242
}
242
}
Lines 371-377 Link Here
371
371
372
# Expand ~
372
# Expand ~
373
QTDIR=`echo "$QTDIR" | sed -e "s,^\~/,$HOME/,"`
373
QTDIR=`echo "$QTDIR" | sed -e "s,^\~/,$HOME/,"`
374
KDESRCDIR=`echo "$KDESRCDIR" | sed -e "s,^\~/,$HOME/,"`
374
TDESRCDIR=`echo "$TDESRCDIR" | sed -e "s,^\~/,$HOME/,"`
375
KDEBUILDDIR=`echo "$KDEBUILDDIR" |sed -e "s,^\~/,$HOME/,"`
375
KDEBUILDDIR=`echo "$KDEBUILDDIR" |sed -e "s,^\~/,$HOME/,"`
376
TDEDIRS=`echo "$TDEDIRS" |sed -e "s,^\~/,$HOME/,"`
376
TDEDIRS=`echo "$TDEDIRS" |sed -e "s,^\~/,$HOME/,"`
377
KDELOGDIR=`echo "$KDELOGDIR" |sed -e "s,^\~/,$HOME/,"`
377
KDELOGDIR=`echo "$KDELOGDIR" |sed -e "s,^\~/,$HOME/,"`
Lines 409-418 Link Here
409
    modules="$critical_modules"
409
    modules="$critical_modules"
410
    # This generates in 'modules' a list of the modules which shall be updated.
410
    # This generates in 'modules' a list of the modules which shall be updated.
411
    #
411
    #
412
    potential_modules=`find $KDESRCDIR -type d -mindepth 1 \
412
    potential_modules=`find $TDESRCDIR -type d -mindepth 1 \
413
        -maxdepth 1 -follow | sed -e "s@.*/?*@@"`
413
        -maxdepth 1 -follow | sed -e "s@.*/?*@@"`
414
    for module in $potential_modules; do
414
    for module in $potential_modules; do
415
      if [ -d $KDESRCDIR/$module/CVS -a -w $KDESRCDIR/$module ] \
415
      if [ -d $TDESRCDIR/$module/CVS -a -w $TDESRCDIR/$module ] \
416
          && !(echo $EXCLUDE | grep -q $module) \
416
          && !(echo $EXCLUDE | grep -q $module) \
417
          && !(echo $modules | grep -q $module) ; then
417
          && !(echo $modules | grep -q $module) ; then
418
         modules="$modules $module"
418
         modules="$modules $module"
Lines 442-448 Link Here
442
  str_error="$str_error Check the logfile in $KDELOGDIR for further information."
442
  str_error="$str_error Check the logfile in $KDELOGDIR for further information."
443
fi
443
fi
444
444
445
if [ ! -d "$KDESRCDIR" ]; then
445
if [ ! -d "$TDESRCDIR" ]; then
446
  echo "ERROR: Invalid source directory specified!"; exit $err_inv_kdesrcdir
446
  echo "ERROR: Invalid source directory specified!"; exit $err_inv_kdesrcdir
447
fi
447
fi
448
if [ ! -d "$QTDIR" -o ! -d "$QTDIR/lib" -o ! -d "$QTDIR/bin" -o ! -d "$QTDIR/include" ]; then
448
if [ ! -d "$QTDIR" -o ! -d "$QTDIR/lib" -o ! -d "$QTDIR/bin" -o ! -d "$QTDIR/include" ]; then
Lines 573-582 Link Here
573
    cmd_update_raw="$cmd_update -l $module"
573
    cmd_update_raw="$cmd_update -l $module"
574
  fi
574
  fi
575
575
576
  if test -d $KDESRCDIR/$module; then
576
  if test -d $TDESRCDIR/$module; then
577
    cd $KDESRCDIR/$module
577
    cd $TDESRCDIR/$module
578
  else 
578
  else 
579
    cd $KDESRCDIR 
579
    cd $TDESRCDIR 
580
  fi
580
  fi
581
581
582
  if ! log_cmd "$cmd_update_raw"; then
582
  if ! log_cmd "$cmd_update_raw"; then
Lines 633-644 Link Here
633
  critical=0
633
  critical=0
634
  for m in $critical_modules; do if [ $m = $module ]; then critical=1; fi; done
634
  for m in $critical_modules; do if [ $m = $module ]; then critical=1; fi; done
635
635
636
  if ! cd $KDESRCDIR/$module; then
636
  if ! cd $TDESRCDIR/$module; then
637
    if [ $critical -eq 1 ]; then
637
    if [ $critical -eq 1 ]; then
638
      echo "ERROR: Could not change into directory $KDESRCDIR/$module!"
638
      echo "ERROR: Could not change into directory $TDESRCDIR/$module!"
639
      exit $err_change_into_mod_dir
639
      exit $err_change_into_mod_dir
640
    else
640
    else
641
      echo "WARNING: Could not change into directory $KDESRCDIR/$module."
641
      echo "WARNING: Could not change into directory $TDESRCDIR/$module."
642
      echo "WARNING: Skipping module $module."
642
      echo "WARNING: Skipping module $module."
643
      continue
643
      continue
644
    fi
644
    fi
Lines 678-684 Link Here
678
  echo -n "  Configuring..."
678
  echo -n "  Configuring..."
679
  set_title "Configuring module $module..."
679
  set_title "Configuring module $module..."
680
  if [ -n "$KDEBUILDDIR" ]; then
680
  if [ -n "$KDEBUILDDIR" ]; then
681
    cmd_configure="$KDESRCDIR/$module/configure $CONFIGUREFLAGS --with-qt-dir=$QTDIR"
681
    cmd_configure="$TDESRCDIR/$module/configure $CONFIGUREFLAGS --with-qt-dir=$QTDIR"
682
  else
682
  else
683
    cmd_configure="./configure $CONFIGUREFLAGS --with-qt-dir=$QTDIR"
683
    cmd_configure="./configure $CONFIGUREFLAGS --with-qt-dir=$QTDIR"
684
  fi
684
  fi
Lines 725-731 Link Here
725
      worked=0
725
      worked=0
726
726
727
      if [ -n "$KDEBUILDDIR" ]; then
727
      if [ -n "$KDEBUILDDIR" ]; then
728
        cd $KDESRCDIR/$module # get back to the supermarket
728
        cd $TDESRCDIR/$module # get back to the supermarket
729
      fi
729
      fi
730
      rm Makefile.in
730
      rm Makefile.in
731
      make_makefile_cvs
731
      make_makefile_cvs
Lines 756-762 Link Here
756
  echo -n "  Compiling..."
756
  echo -n "  Compiling..."
757
  set_title "Compiling module $module..."
757
  set_title "Compiling module $module..."
758
  use_compile_target=no
758
  use_compile_target=no
759
  [ -f $KDESRCDIR/$module/Makefile.am.in ] && [ -n "$MAKE_OPTS_COMPILE" ] && [ -n "$USE_UNSERMAKE" ] \
759
  [ -f $TDESRCDIR/$module/Makefile.am.in ] && [ -n "$MAKE_OPTS_COMPILE" ] && [ -n "$USE_UNSERMAKE" ] \
760
       && ! (echo $NO_UNSERMAKE_MODULES | grep $module > /dev/null 2>&1) \
760
       && ! (echo $NO_UNSERMAKE_MODULES | grep $module > /dev/null 2>&1) \
761
       && use_compile_target=yes
761
       && use_compile_target=yes
762
  if [ "$use_compile_target" = yes ]; then
762
  if [ "$use_compile_target" = yes ]; then
(-)tdesdk/scripts/kde-buildrc (-5 / +5 lines)
Lines 6-14 Link Here
6
6
7
# Where are your KDE sources?
7
# Where are your KDE sources?
8
#
8
#
9
KDESRCDIR="$PWD"
9
TDESRCDIR="$PWD"
10
10
11
# Where your KDE should be build, leave empty if built in KDESRCDIR
11
# Where your KDE should be build, leave empty if built in TDESRCDIR
12
#
12
#
13
KDEBUILDDIR=""
13
KDEBUILDDIR=""
14
14
Lines 36-42 Link Here
36
# here in which the logfiles will be saved. If you want to disable logfile
36
# here in which the logfiles will be saved. If you want to disable logfile
37
# generation, leave this blank.
37
# generation, leave this blank.
38
#
38
#
39
KDELOGDIR="$KDESRCDIR/log"
39
KDELOGDIR="$TDESRCDIR/log"
40
40
41
# Do you want the logfiles to be compressed? Set this variable to "yes" to
41
# Do you want the logfiles to be compressed? Set this variable to "yes" to
42
# make the script compress the logfiles using bzip2 (using gzip as a
42
# make the script compress the logfiles using bzip2 (using gzip as a
Lines 122-128 Link Here
122
#CHECKOUT_PARTIAL_KDEMULTIMEDIA=juk
122
#CHECKOUT_PARTIAL_KDEMULTIMEDIA=juk
123
#CHECKOUT_PARTIAL_KDEEXTRAGEAR_2="kile konversation"
123
#CHECKOUT_PARTIAL_KDEEXTRAGEAR_2="kile konversation"
124
124
125
# If there are any modules in $KDESRCDIR which you don't want to be updated,
125
# If there are any modules in $TDESRCDIR which you don't want to be updated,
126
# you can specify them in this space-seperated list, e.g. "qt-copy kde-common".
126
# you can specify them in this space-seperated list, e.g. "qt-copy kde-common".
127
#
127
#
128
EXCLUDE=""
128
EXCLUDE=""
Lines 164-170 Link Here
164
164
165
# Set it to the path for unsermake if you want to test it instead of
165
# Set it to the path for unsermake if you want to test it instead of
166
# automake.
166
# automake.
167
# USE_UNSERMAKE="$KDESRCDIR/kdenonbeta/unsermake/unsermake"
167
# USE_UNSERMAKE="$TDESRCDIR/kdenonbeta/unsermake/unsermake"
168
168
169
# List modules here for which unsermake should not be used.
169
# List modules here for which unsermake should not be used.
170
#
170
#

Return to bug 860