File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "dependencies" : {
3+ "rhel" : [
4+ " bc" ,
5+ " numactl" ,
6+ " perf" ,
7+ " git" ,
8+ " zip" ,
9+ " unzip"
10+ ],
11+ "ubuntu" : [
12+ " bc" ,
13+ " numactl" ,
14+ " git" ,
15+ " zip" ,
16+ " unzip" ,
17+ " libncurses5"
18+ ],
19+ "amzn" : [
20+ " bc" ,
21+ " numactl" ,
22+ " perf" ,
23+ " git" ,
24+ " zip" ,
25+ " unzip"
26+ ],
27+ "sles" : [
28+ " bc" ,
29+ " libnuma1" ,
30+ " perf" ,
31+ " git" ,
32+ " zip" ,
33+ " unzip" ,
34+ " libncurses5"
35+ ]
36+ }
37+ }
Original file line number Diff line number Diff line change 2424test_name=" passmark"
2525passmark_version=" v1.0"
2626curdir=` pwd`
27+ script_dir=$( dirname $( realpath $0 ) )
2728copy_dirs=" "
2829
2930if [ ! -f " /tmp/${test_name} .out" ]; then
@@ -364,8 +365,11 @@ done
364365os=` $TOOLS_BIN /detect_os`
365366if [[ $os == " ubuntu" ]]; then
366367 add-apt-repository universe -y
367- apt-get install libncurses5 -y
368+ elif [[ $os == " sles" ]]; then
369+ SUSEConnect --product sle-module-legacy/$( $TOOLS_BIN /detect_os --os-version) /$( arch)
368370fi
369371
372+ $TOOLS_BIN /package_tool --no_packages $to_no_pkg_install --wrapper_config $script_dir /../passmark.json
373+
370374run_passmark
371375exit 0
You can’t perform that action at this time.
0 commit comments