Skip to content

Commit

Permalink
Cleanup boilerplate and +x bit so check-boilerplate.sh passes.
Browse files Browse the repository at this point in the history
Fix check-unittest.sh to use the updated scripts target (previously
testscripts)
  • Loading branch information
dlott committed Mar 13, 2018
1 parent ed74a85 commit f828d90
Show file tree
Hide file tree
Showing 10 changed files with 45 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/lib/check-unittest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi
# Unit test failures can't easily be mapped to specific input files.
# Always run all tests, and report a failure via nonzero exit code if
# any test fails.
if ! tox -e py27,scripttests >&2; then
if ! tox -e py27,scripts >&2; then
>&2 echo "*** tox failed. Note: If dependencies have changed, try "\
"running 'tox -r' to update the tox environment"
exit 1
Expand Down
17 changes: 17 additions & 0 deletions perfkitbenchmarker/data/run_hpcg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
#!/bin/bash

# Copyright 2018 PerfKitBenchmarker Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.



HPCG_DIR=`pwd`

DATETIME=`hostname`.`date +"%Y%m%d.%H%M%S"`
Expand Down
13 changes: 13 additions & 0 deletions perfkitbenchmarker/linux_benchmarks/cloud_redis_ycsb_benchmark.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Copyright 2018 PerfKitBenchmarker Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Runs the YCSB benchmark against managed Redis services.
Spins up a cloud redis instance, runs YCSB against it, then spins it down.
Expand Down
13 changes: 13 additions & 0 deletions perfkitbenchmarker/linux_benchmarks/sample_benchmark.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Copyright 2018 PerfKitBenchmarker Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Sample benchmark.
This benchmark demonstrates the use of preprovisioned data.
Expand Down
Empty file modified perfkitbenchmarker/linux_packages/ch_block_storage.py
100755 → 100644
Empty file.
Empty file modified perfkitbenchmarker/linux_packages/php.py
100755 → 100644
Empty file.
Empty file modified perfkitbenchmarker/pkb.py
100755 → 100644
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env python

# Copyright 2017 PerfKitBenchmarker Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
Empty file.
Empty file modified tools/SeparateLogFileRuns.py
100644 → 100755
Empty file.

0 comments on commit f828d90

Please sign in to comment.