don't use git to determine where the common directory is
it's not portable for our lab environment, where git may not exist
This commit is contained in:
parent
f00f82d85c
commit
97c4bbe952
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
if ( ! (get-module -ea silentlycontinue TestHostCS ))
|
if ( ! (get-module -ea silentlycontinue TestHostCS ))
|
||||||
{
|
{
|
||||||
$root = git rev-parse --show-toplevel
|
# this is sensitive to the location of this test and the common directory"
|
||||||
$pestertestroot = join-path $root test/powershell
|
$pestertestroot = resolve-path "$psscriptroot/../.."
|
||||||
$common = join-path $pestertestroot Common
|
$common = join-path $pestertestroot Common
|
||||||
$hostmodule = join-path $common TestHostCS.psm1
|
$hostmodule = join-path $common TestHostCS.psm1
|
||||||
import-module $hostmodule
|
import-module $hostmodule
|
||||||
|
|
Loading…
Reference in a new issue