Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Iker Martín Álvarez
Proteo
Commits
626eaa40
Commit
626eaa40
authored
Mar 10, 2023
by
iker_martin
Browse files
Minor fixes in Exec scripts
parent
d8f1ea5e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Exec/CheckRun.sh
View file @
626eaa40
...
...
@@ -32,7 +32,7 @@ iter_total_lines=$(($iter_lines_basic+$total_stages*2+1))
exec_remove
=
$((
$exec_lines_basic
+
$total_stages
+
$total_groups
-
1
))
iter_remove
=
$((
$iter_lines_basic
+
$total_stages
-
1
))
if
[
"$#"
-lt
"
6
"
]
if
[
"$#"
-lt
"
5
"
]
then
echo
"Not enough arguments"
echo
"Usage -> bash CheckRun maxIndes total_repetitions total_groups total_stages max_iteration_time"
...
...
Exec/generalRun.sh
View file @
626eaa40
...
...
@@ -28,7 +28,7 @@ configFile=$2
use_extrae
=
$3
outFileIndex
=
$4
qty
=
1
if
[
$#
-g
t
5
]
if
[
$#
-g
e
5
]
then
qty
=
$5
fi
...
...
Exec/generalRunCostum.sh
View file @
626eaa40
...
...
@@ -26,17 +26,17 @@ use_extrae=0
outFileIndex
=
0
qty
=
1
if
[
$#
-g
t
3
]
if
[
$#
-g
e
3
]
then
use_extrae
=
$3
fi
if
[
$#
-g
t
4
]
if
[
$#
-g
e
4
]
then
outFileIndex
=
$4
fi
if
[
$#
-g
t
5
]
if
[
$#
-g
e
5
]
then
qty
=
$5
fi
...
...
Exec/singleRun.sh
View file @
626eaa40
...
...
@@ -18,7 +18,7 @@ codeDir="/Codes/build"
execDir
=
"/Exec"
ResultsDir
=
"/Results"
if
[
$#
-lt
2
]
if
[
$#
-lt
1
]
then
echo
"Not enough arguments. Usage:"
echo
"bash singleRun.sh config.ini [outFileIndex] [Qty] [Use extrae] [Output path]"
...
...
@@ -36,19 +36,19 @@ outFileIndex=0
qty
=
1
use_extrae
=
0
if
[
$#
-g
t
2
]
if
[
$#
-g
e
2
]
then
outFileIndex
=
$2
fi
if
[
$#
-g
t
3
]
if
[
$#
-g
e
3
]
then
qty
=
$3
fi
if
[
$#
-g
t
4
]
if
[
$#
-g
e
4
]
then
use_extrae
=
$4
fi
if
[
$#
-g
t
5
]
if
[
$#
-g
e
5
]
then
output
=
$5
fi
...
...
Exec/singleRunCostum.sh
View file @
626eaa40
...
...
@@ -14,15 +14,13 @@ codeDir="/Codes/build"
execDir
=
"/Exec"
ResultsDir
=
"/Results"
if
[
$#
-lt
2
]
if
[
$#
-lt
1
]
then
echo
"Not enough arguments. Usage:"
echo
"singleRunCostum.sh config.ini [outFileIndex] [Qty] [Use Extrae] [Output path]"
exit
1
fi
echo
"START TEST"
#$1 == configFile
#$2 == outFileIndex
#$3 == Qty of repetitions
...
...
@@ -34,19 +32,19 @@ outFileIndex=0
qty
=
1
use_extrae
=
0
if
[
$#
-g
t
2
]
if
[
$#
-g
e
2
]
then
outFileIndex
=
$2
fi
if
[
$#
-g
t
3
]
if
[
$#
-g
e
3
]
then
qty
=
$3
fi
if
[
$#
-g
t
4
]
if
[
$#
-g
e
4
]
then
use_extrae
=
$4
fi
if
[
$#
-g
t
5
]
if
[
$#
-g
e
5
]
then
output
=
$5
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment