[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kdetestscripts
From:       Benjamin Meyer <benjamin () csh ! rit ! edu>
Date:       2004-10-25 19:00:40
Message-ID: 20041025190040.7301E16C3B () office ! kde ! org
[Download RAW message or body]

CVS commit by bmeyer: 

have xmlkconfigxt and toolbar run against source rather then installed


  M +1 -1      callingexit   1.5
  M +1 -1      deleteprivate   1.9
  M +2 -2      generatereport   1.36
  M +0 -3      toolbar   1.6
  M +1 -7      xmlkconfigxt   1.6


--- kdenonbeta/kdetestscripts/callingexit  #1.4:1.5
@@ -2,5 +2,5 @@
 ##
 # Name: 'C' exit
-# Description: qApp->quit() or qApp->exit(int) should be used over a direct call to \
exit if the problem is non fatal. +# Description: qApp->quit() or qApp->exit(int) \
should be used over a direct call to exit if the problem is non fatal.  exit calls in \
the main application constructors should be put in main() if possible (so the whole \
app doesn't have to be constructed/deconstructed)  # ToResolve: Evaluate code and \
change to qApp->quit, qApp->exit or return (if in main and no qapp yet) if possible.  \
Note that qApp-> will return to main and finish evaluating.  # Author: Benjamin C \
Meyer [ben at meyerhome dot net]

--- kdenonbeta/kdetestscripts/deleteprivate  #1.8:1.9
@@ -7,5 +7,5 @@
 ##
 
-for file in `find . -name *.cpp` ; do
+for file in `find . -name *.cpp | grep -v "libkdenetwork/gpgmepp/data.cpp"` ; do
         awk '{gsub(/[ ]||[\t]/, "", $0); } /^d=new.*Private/ { exit 1 } ' $file
         if [ $? -eq 1 ] ;then

--- kdenonbeta/kdetestscripts/generatereport  #1.35:1.36
@@ -43,7 +43,7 @@
 # Finds way too many error "listend"
 # Not finished "unixhome" and "compilekde"
-MODULESCRIPTS="cstringlength qstringnull deleteprivate isempty postincrement \
qptrlist constqstring noifbody filename qdebug headerincluded callingexit copyright \
savesize thispointer cvsheaders kapp_h" +MODULESCRIPTS="cstringlength qstringnull \
deleteprivate isempty postincrement qptrlist constqstring noifbody filename qdebug \
headerincluded callingexit copyright savesize thispointer cvsheaders kapp_h \
xmlkconfigxt toolbar"  
-INSTALLEDSCRIPTS="finddesignericons designericonsizes dotdesktop validatedesktop \
finddesktopicons iconsize  toolbar xmlkconfigxt" +INSTALLEDSCRIPTS="finddesignericons \
designericonsizes dotdesktop validatedesktop finddesktopicons iconsize"  # Working on \
still...  #"kcmmodulessize" 

--- kdenonbeta/kdetestscripts/toolbar  #1.5:1.6
@@ -7,6 +7,4 @@
 ##
 
-source generatereport testpaths
-
 test(){
         echo $lines | grep $1 >> /dev/null
@@ -16,5 +14,4 @@
 }
 
-cd $KDEDIR/share/apps
 for file in `find . -name *ui.rc` ; do
         lines=`awk '/<ToolBar/,/<\/ToolBar/' $file`

--- kdenonbeta/kdetestscripts/xmlkconfigxt  #1.5:1.6
@@ -7,11 +7,5 @@
 ##
 
-source generatereport testpaths
-
-cd $KDEDIR/share/config.kcfg
-for file in `ls -1 *.kcfg` ; do
-        if [ ! -f $file ] ; then
-                continue
-        fi
+for file in `find . -name *.kcfg` ; do
         xmllint -valid -noout $file
         if [ ! $? -eq 0 ] ; then


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic