mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update test/cmdlineTests.sh
Co-authored-by: Kamil Śliwak <cameel2@gmail.com>
This commit is contained in:
parent
a0aacb91a6
commit
70e925dbfc
@ -54,12 +54,7 @@ do
|
|||||||
shift
|
shift
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]
|
matching_tests=$(find . -mindepth 1 -maxdepth 1 -type d -name "$1" | cut -c 3- | sort)
|
||||||
then
|
|
||||||
matching_tests=$(find . -mindepth 1 -maxdepth 1 -type d -name "$1" | cut -c 3- | sort)
|
|
||||||
else
|
|
||||||
matching_tests=$(find . -mindepth 1 -maxdepth 1 -type d -name "$1" | cut --characters 3- | sort)
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [[ $matching_tests == "" ]]
|
if [[ $matching_tests == "" ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user