Menu

TestSuite

Peter Howkins

Instructions in historical/RelaseNotes.ps

Preparing and configuration

Unpack tests

 cd cdesktopenv
 tar xvfz cde-test.tar.Z

Link in OSVersion

 cd cdesktopenv/cde-test/config
 ln -s OSVersionTemplates/3.2 OSVersion.tmpl

Create Shared library rules

 mkdir -p localtemplates/linux

edit localtemplates/linux/optimised.sharedlibs and fill in with the following content

/* This template file will build a shared library tree with -O2 */

#ifndef BUILD_UNITY_1_ONLY
#define BUILD_UNITY_1_ONLY YES
#endif

/* optimized tree */
#ifndef OptimizedCDebugFlags
#define OptimizedCDebugFlags    -O2
#endif

Link in shared library rules

 ln -s localtemplates/linux/optimised.sharedlibs localtree.tmpl

Modify site.def
change cdesrcRoot to /home/peter/cdesktopenv/cde

BUILD

 cd $CDEBUILDDIR/cde-test/admin/BuildTools/master_build
./test_build -build /home/peter/cdesktopenv-code/cde-test/ -log /home/peter/cdesktopenv-code/cde-test/logs -c

Read the place in which the build failed here

cd /home/peter/cdesktopenv-code/cde-test/logs/cde-test
less allmake.RANDOMNUMBER

src changes

config/imake.c:536 #if !defined(linux) around extern sys_errlist


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.