Overview
Comment: | Adding setup task |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
cc4475b0c558122cad7892f43ab965ea |
User & Date: | mrwellan on 2013-07-22 14:46:01 |
Other Links: | branch diff | manifest | tags |
Context
2013-07-22
| ||
15:33 | Added missing files check-in: 2b32f9312f user: mrwellan tags: dev | |
14:46 | Adding setup task check-in: cc4475b0c5 user: mrwellan tags: dev | |
13:57 | Megatest based installall mostly done check-in: e165458b7b user: mrwellan tags: dev | |
Changes
Added tests/installall/tests/setup/setup.logpro version [ce8667656b].
> > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 | ;; You should have at least one expect:required. This ensures that your process ran (expect:required in "LogFileBody" > 0 "ALL DONE" #/ALL DONE$/) ;; You may need ignores to suppress false error or warning hits from the later expects ;; NOTE: Order is important here! (expect:ignore in "LogFileBody" < 99 "Ignore the word error in comments" #/^\/\/.*error/) (expect:warning in "LogFileBody" = 0 "Any warning" #/warn/) (expect:error in "LogFileBody" = 0 "Any error" (list #/ERROR/ #/error/i)) ;; but disallow any other errors |
Added tests/installall/tests/setup/setup.sh version [b7556ce234].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 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 29 30 31 32 33 | #!/usr/bin/env bash # Run your step here cksetupsh=$PREFIX/setup-chicken4x.sh cksetupcsh=$PREFIX/setup-chicken4x.csh setupsh=$PREFIX/buildsetup.sh mkdir -p $PREFIX # File for users to source to run chicken echo "# Source me to setup to to run chicken" > $cksetupsh echo "export PATH=$PREFIX/bin:\$PATH" > $cksetupsh echo "export LD_LIBRARY_PATH=$PREFIX/lib" >> $cksetupsh # tcsh version echo "setenv PATH $PREFIX/bin:\$PATH" > $cksetupcsh echo "setenv LD_LIBRARY_PATH $PREFIX/lib" >> $cksetupcsh # File to source for build process echo "export PATH=$PREFIX/bin:\$PATH" > $setupsh echo "export LD_LIBRARY_PATH=$PREFIX/lib" >> $setupsh if [[ $proxy == "" ]]; then echo 'Please set the environment variable "proxy" to host.com:port (e.g. foo.com:1234) to use a proxy' else echo "export http_proxy=http://$proxy" >> $setupsh echo "export PROX=\"-proxy $proxy\"" >> $setupsh fi echo "export PREFIX=$PREFIX" >> $setupsh echo ALL DONE |
Added tests/installall/tests/setup/testconfig version [27705aefdb].
> > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # Add additional steps here. Format is "stepname script" [ezsteps] setup setup.sh # Test requirements are specified here [requirements] # priority 10 # Iteration for your tests are controlled by the items section [items] # test_meta is a section for storing additional data on your test [test_meta] author matt owner matt description Download and install chicken scheme tags tagone,tagtwo reviewed never |