Skip to content
Snippets Groups Projects
Commit 7e1315d0 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

build: remove test in /tmp (beause it is part of test suite)

parent 1e1d606e
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,9 @@ require("inc_functions.php");
$INFILE="$selfdir/src/amcli.php";
$INCFILE="$selfdir/src/include_checks.php";
$TMPFILE="$selfdir/src/amcli.php.tmp";
$OUTFILE="$selfdir/$dirPackages/".str_replace('.php', '', basename($INFILE));
$OUTFILE="$selfdir/$dirPackages/".str_replace('.php', '', basename($INFILE)).$myosextension;
$OUTFILE2="$selfdir/$dirPackages/".str_replace('.php', '', basename($INFILE)).'_'.$myarchitecture.$myosextension;
echo "
......@@ -68,11 +70,9 @@ _h1("Test generated binary");
_exec("file '$OUTFILE'");
_exec("'$OUTFILE' --ini=../src/simple.ini");
_h1("Test binary in other location");
$testfile="/tmp/".basename($OUTFILE);
_exec("cp '$OUTFILE' '$testfile'");
_exec("'$testfile' --ini=$selfdir/src/simple.ini");
_exec("rm '$testfile'");
_h1("Write architecture specific binary");
_exec("cp '$OUTFILE' '$OUTFILE2'");
// ----------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment