[Dart] dart2 1.0.7 doesn't show results from continuous builds

Alexander Neundorf a.neundorf-work at gmx.net
Mon Jan 8 08:07:08 EST 2007


Von: Bill Hoffman <bill.hoffman at kitware.com>

> Blezek, Daniel J (GE, Research) wrote:
> > Hi Alex,
> >
> >   The "-Continuous" attribute for BuildStamp isn't valid.  I think I
> > changed the behavior of Dart to put in a default time stamp (likely
> > some time in 1971), so you could look for your continuous builds
> > waaaaay back at the beginning of your dashboard.
> >
> >   Dart needs to know where to file submissions, so you'll need to put
> > a timestamp before the -Continuous.  However, I'll make the change to
> > default to "now" if no timestamp is included.
>
> So, is this a ctest bug?   Alex, how are you running ctest to generate 
> these files?

Currently manually:

ctest -S xscale-cont.ctest -V -VV
File is attached.

Bye
Alex

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------- next part --------------
#SET(ENV{CC} "gcc")
#SET(ENV{CXX} "g++")

SET (CTEST_SITE          "pc-drechsler")
SET (CTEST_BUILD_NAME    "Linux-SUSE-10.0")
SET (CTEST_NOTES_FILES   "${CTEST_SCRIPT_DIRECTORY}/${CTEST_SCRIPT_NAME}")

SET (CTEST_DASHBOARD_ROOT   "/home/alex/src/dash-cont/")
SET (CTEST_SOURCE_DIRECTORY "${CTEST_DASHBOARD_ROOT}/xscale")
SET (CTEST_BINARY_DIRECTORY "${CTEST_DASHBOARD_ROOT}/xscale")
SET (CTEST_UPDATE_COMMAND    "cvs")

SET (CTEST_CMAKE_GENERATOR "Unix Makefiles")
SET (CTEST_PROJECT_NAME "xscale")

# this is the initial cache to use for the binary tree, be careful to escape
# any quotes inside of this string if you use it
FILE(WRITE "${CTEST_BINARY_DIRECTORY}/CMakeCache.txt" "
MAKECOMMAND:STRING=make -i
CMAKE_MAKE_PROGRAM:FILEPATH=make
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
BUILDNAME:STRING=pc-drechsler-SUSE-10.0
SITE:STRING=pc-drechsler
CVSCOMMAND:FILEPATH=cvs
WITH_DASHBOARD:BOOL=ON
"
)

SET(FORCE_BUILD 1)
WHILE (${CTEST_ELAPSED_TIME} LESS 50400) # 14 stunden
  SET (START_TIME ${CTEST_ELAPSED_TIME})
  CTEST_START (Continuous)
  CTEST_UPDATE (SOURCE "${CTEST_SOURCE_DIRECTORY}" RETURN_VALUE res)
# force a build if this is the first run and the build dir is empty
  IF(FORCE_BUILD)
    SET(res 1)
    SET(FORCE_BUILD FALSE)
    MESSAGE("first time build")
  ENDIF(FORCE_BUILD)
  IF("${res}" GREATER "0")
    MESSAGE("Found changes, run build")
    CTEST_CONFIGURE (BUILD "${CTEST_BINARY_DIRECTORY}")
    CTEST_BUILD (BUILD "${CTEST_BINARY_DIRECTORY}")
    CTEST_TEST  (BUILD "${CTEST_BINARY_DIRECTORY}")
    CTEST_SUBMIT ()
  ENDIF("${res}" GREATER "0")
# loop no faster than once every 5 minutes
  MESSAGE("wait for 5 minutes")
  CTEST_SLEEP( ${START_TIME} 300 ${CTEST_ELAPSED_TIME})
ENDWHILE(${CTEST_ELAPSED_TIME} LESS 36000)


More information about the Dart mailing list