-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from garlick/rel_23
build system enhancements and prep for 1.2.23 release
- Loading branch information
Showing
11 changed files
with
80 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ Mark Grondona | |
Tim Randles | ||
Jim Silva | ||
Cameron Harr | ||
Phil Regier |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
all: | ||
@echo Nothing to do | ||
|
||
clean: | ||
rm -f nodediag-*.tar.gz | ||
|
||
dist: | ||
@scripts/mkdist | ||
|
||
check: | ||
cd test && ../scripts/runtests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
|
||
if test $# -gt 1; then | ||
echo "Usage: mkdist [git-tag]" >&2 | ||
exit 1 | ||
fi | ||
VERSION=$1 | ||
if test -z "$VERSION"; then | ||
VERSION=$(git describe --always | awk '/.*/ {printf "%s",$1; exit}') | ||
fi | ||
|
||
echo "Creating ${VERSION}.tar.gz" | ||
|
||
git archive --format=tar --prefix=nodediag-${VERSION}/ ${VERSION} \ | ||
| gzip >nodediag-${VERSION}.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
|
||
if ! test -d ../diags; then | ||
echo Must be run within test directory >&2 | ||
exit 1 | ||
fi | ||
|
||
export NODEDIAGDIR=../diags | ||
|
||
fail_count=0 | ||
|
||
for file in */dmidecode; do | ||
platform=$(basename $(dirname $file)) | ||
echo $platform: running dmi.t on cached config and dmidecode dump file | ||
export DMIDECODE_DUMP_FILE=$file | ||
export NODEDIAGCONF=$(dirname $file)/dmi.conf | ||
if $NODEDIAGDIR/dmi.t | grep 'not ok'; then | ||
fail_count=$(($fail_count+1)) | ||
fi | ||
unset NODEDIAGCONF | ||
done | ||
|
||
for file in */lspci; do | ||
platform=$(basename $(dirname $file)) | ||
echo $platform: running pci.t on cached config and lspci dump file | ||
export LSPCI_DUMP_FILE=$file | ||
export NODEDIAGCONF=$(dirname $file)/pci*.conf | ||
if $NODEDIAGDIR/pci.t | grep 'not ok'; then | ||
fail_count=$(($fail_count+1)) | ||
fi | ||
unset NODEDIAGCONF | ||
done | ||
|
||
echo Failed $fail_count tests >&2 | ||
test $fail_count -eq 0 || exit 1 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.