Megatest

Check-in [942beb12d3]
Login
Overview
Comment:Added deploy of the eggs
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | development
Files: files | file ages | folders
SHA1: 942beb12d3bb3b5b8cc3eba6f85cd4ce78c70605
User & Date: matt on 2013-03-27 23:55:04
Other Links: branch diff | manifest | tags
Context
2013-03-28
07:43
Use -test-paths to find location to put eggs check-in: 72d5003fa7 user: matt tags: development
2013-03-27
23:55
Added deploy of the eggs check-in: 942beb12d3 user: matt tags: development
17:30
Added mkdeploy as a eat yer own dogfood megatest automation of making the deploy target check-in: 1f5fe87e8e user: mrwellan tags: development
Changes

Modified mkdeploy/megatest.config from [707a093280] to [048e8eabb8].

1
2
3

4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[fields]
PLATFORM TEXT
OS       TEXT


[setup]
# Adjust max_concurrent_jobs to limit parallel jobs
max_concurrent_jobs 50

# This is your link path, best to set it and then not change it
linktree #{getenv PWD}/linktree

# Job tools control how your jobs are launched
[jobtools]
useshell yes
launcher nbfind

# As you run more tests you may need to add additional disks 
# the names are arbitrary but must be unique
# 
[disks]
disk0 #{getenv PWD}/runs

# put env-override last so definitions in site.config by default
# are added as env-override variables
#
[env-override]
[include site.config]



>



|


|










|






1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[fields]
PLATFORM TEXT
OS       TEXT
OSVER    TEXT

[setup]
# Adjust max_concurrent_jobs to limit parallel jobs
max_concurrent_jobs 10

# This is your link path, best to set it and then not change it
linktree #{getenv MT_RUN_AREA_HOME}/linktree

# Job tools control how your jobs are launched
[jobtools]
useshell yes
launcher nbfind

# As you run more tests you may need to add additional disks 
# the names are arbitrary but must be unique
# 
[disks]
disk0 #{getenv MT_RUN_AREA_HOME}/runs

# put env-override last so definitions in site.config by default
# are added as env-override variables
#
[env-override]
[include site.config]

Modified mkdeploy/tests/eggs/install.logpro from [ee0eb59e56] to [6d91c96c24].



1
2
3


(expect:error in    "LogFileBody" = 0 "Any error"         #/err/i)
(expect:required in "LogFileBody" = 1 "Sucess signature" #/adequate space/)

>
>
|
|

1
2
3
4
5
(expect:ignore in   "LogFileBody" >= 0 "ignore setup-error-handling" #/setup-error-handling/)
(expect:ignore in   "LogFileBody" >= 0 "ignore check-errors" (list #/check-errors/ #/type-errors/ #/srfi-4-errors/))
(expect:error in    "LogFileBody" = 0 "Any error"         #/error/i)
(expect:required in "LogFileBody" = 1 "Sucess signature" #/DONE/)

Modified mkdeploy/tests/eggs/install.sh from [dc233ea2bc] to [75676a29df].

1
2
3
4
5
6
7
8
#!/bin/bash -e
freespace=`df -k /$DIRECTORY | grep $DIRECTORY | awk '{print $4}'`
if [[ $freespace -lt $REQUIRED ]];then
  echo "ERROR: insufficient space on /$DIRECTORY"
  exit 1
else
  echo "There is adequate space on /$DIRECTORY"
fi

|
|
<
<
<
|
<
1
2
3



4

#!/bin/bash -e

chicken-install -prefix ../deploytarg -deploy $EGGNAME



echo DONE

Modified mkdeploy/tests/eggs/testconfig from [f444692bff] to [9e809f74ce].

1
2
3
4



5
6
7
8
9
10
11
# Add steps here. Format is "stepname script"
[ezsteps]
install install.sh




# Iteration for your tests are controlled by the items section
# However it is impractical to code the actual directory here 
# so use names here and dereference to variables in runconfigs
[itemstable]
DIRECTORY    tmp    opt     runs
REQUIRED  100000 100000  1000000





>
>
>



|
<
<
|
1
2
3
4
5
6
7
8
9
10
11


12
# Add steps here. Format is "stepname script"
[ezsteps]
install install.sh

[requirements]
waiton executables

# Iteration for your tests are controlled by the items section
# However it is impractical to code the actual directory here 
# so use names here and dereference to variables in runconfigs
[items]


EGGNAME apropos base64 canvas-draw csv-xml directory-utils dot-locking extras fmt format hostinfo http-client intarweb json md5 message-digest posix posix-extras readline regex regex-case s11n spiffy spiffy-request-vars sqlite3 srfi-1 srfi-18 srfi-69 tcp test uri-common zmq check-errors synch matchable sql-null tcp-server rpc blob-utils string-utils variable-item defstruct uri-generic sendfile openssl lookup-table list-utils stack

Added mkdeploy/tests/executables/addlibs.logpro version [6af16367a1].







>
>
>
1
2
3
(expect:error in    "LogFileBody" = 0 "Any error"         #/err/i)
(expect:required in "LogFileBody" = 1 "Sucess signature" #/libchicken.so.6/)

Added mkdeploy/tests/executables/addlibs.sh version [8e40255426].





















>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
#!/bin/bash -e

CSIPATH=$(echo $(type csi)|awk '{print $3}')
CKPATH=$(dirname $(dirname $CSIPATH))
rsync -av $EXECUTABLE/ ../deploytarg/
for i in iup im cd av call sqlite; do
  cp $(CKPATH)/lib/lib$i* ../deploytarg/
done

cp $(CKPATH)/include/*.h ../deploytarg/

Modified mkdeploy/tests/executables/install.logpro from [ee0eb59e56] to [6af16367a1].

1
2
3
(expect:error in    "LogFileBody" = 0 "Any error"         #/err/i)
(expect:required in "LogFileBody" = 1 "Sucess signature" #/adequate space/)


|

1
2
3
(expect:error in    "LogFileBody" = 0 "Any error"         #/err/i)
(expect:required in "LogFileBody" = 1 "Sucess signature" #/libchicken.so.6/)

Modified mkdeploy/tests/executables/install.sh from [da94267cde] to [de5fcdb1f7].

1
2


3
4
5
#!/bin/bash -e



cd $BUILDDIR
csc -deploy $EXECUTABLE



>
>
|

|
1
2
3
4
5
6
7
#!/bin/bash -e

unset LD_LIBRARY_PATH
rm -rf $EXECUTABLE
mkdir $EXECUTABLE
csc -deploy $EXECUTABLE
ls $EXECUTABLE

Added mkdeploy/tests/executables/linksrc.logpro version [174fad494f].







>
>
>
1
2
3
(expect:error in    "LogFileBody" = 0 "Any error"         #/err/i)
(expect:required in "LogFileBody" = 1 "Sucess signature" #/Makefile/)

Added mkdeploy/tests/executables/linksrc.sh version [aeb7742b04].













>
>
>
>
>
>
1
2
3
4
5
6
#!/bin/bash -e

rm -f *.scm *.o Makefile
ln -s $BUILDDIR/*.scm .
ln -s $BUILDDIR/Makefile .
ls Makefile *.scm 

Added mkdeploy/tests/executables/make_mt.logpro version [bd9b47de4a].







>
>
>
1
2
3
(expect:error in    "LogFileBody" = 0 "Any error"         #/err/i)
(expect:required in "LogFileBody" = 1 "Sucess signature" #/mtest/)

Modified mkdeploy/tests/executables/testconfig from [49600bd32c] to [d82229732d].

1
2


3

4
5
6
7
8
9
10
# Add steps here. Format is "stepname script"
[ezsteps]


install install.sh


# Iteration for your tests are controlled by the items section
# However it is impractical to code the actual directory here 
# so use names here and dereference to variables in runconfigs
[itemstable]
EXECUTABLE megatest dashboard



>
>

>







1
2
3
4
5
6
7
8
9
10
11
12
13
# Add steps here. Format is "stepname script"
[ezsteps]
linksrc linksrc.sh
make_mt make
install install.sh
addlibs addlibs.sh

# Iteration for your tests are controlled by the items section
# However it is impractical to code the actual directory here 
# so use names here and dereference to variables in runconfigs
[itemstable]
EXECUTABLE megatest dashboard