Service account testing

This commit is contained in:
Jay Lee
2019-05-07 14:15:37 -04:00
parent b34b2d8e2a
commit 5ce67e5f5c
5 changed files with 35 additions and 10 deletions

View File

@@ -1,16 +1,18 @@
cd src
if [ "$VMTYPE" == "test" ]; then
export gam="$python gam.py"
export gampath=$(readlink -e .)
else
$python -OO -m PyInstaller --clean --debug -F --distpath=gam $GAMOS-gam.spec
export gam="gam/gam"
export gampath=$(readlink -e gam)
export GAMVERSION=`$gam version simple`
cp LICENSE gam
cp whatsnew.txt gam
cp GamCommands.txt gam
cp LICENSE $gampath
cp whatsnew.txt $gampath
cp GamCommands.txt $gampath
this_glibc_ver=$(ldd --version | awk '/ldd/{print $NF}')
GAM_ARCHIVE=gam-$GAMVERSION-$GAMOS-$PLATFORM-glibc$this_glibc_ver.tar.xz
rm gam/lastupdatecheck.txt
rm $gampath/lastupdatecheck.txt
tar cfJ $GAM_ARCHIVE gam/
echo "PyInstaller GAM info:"
du -h gam/gam

View File

@@ -1,6 +1,7 @@
cd src
$python -OO -m PyInstaller --clean --debug -F --distpath=gam $GAMOS-gam.spec
export gam="gam/gam"
export gampath=$(readlink -e gam)
$gam version extended
export GAMVERSION=`gam/gam version simple`
cp LICENSE gam

View File

@@ -1,6 +1,7 @@
cd src
pyinstaller --clean -F --distpath=gam $GAMOS-gam.spec
export gam="gam/gam"
export gampath=$(readlink -e gam)
$gam version extended
export GAMVERSION=`$gam version simple`
rm gam/lastupdatecheck.txt

View File

@@ -1,6 +1,7 @@
cd src
pyinstaller --clean -F --distpath=gam $GAMOS-gam.spec
export gam="gam/gam"
export gampath=$(readlink -e gam)
$gam version
export GAMVERSION=`$gam version simple`
rm gam/lastupdatecheck.txt