Peter Honeder
f14622bf30
cleaned Makefile, extended powershell-simple.exe host, updated to latest monad version
2015-07-01 11:23:53 -07:00
Peter Honeder
05ad29f3cf
bumping to latest monad changes, updated makefiles
2015-06-30 19:24:53 -07:00
Peter Honeder
a32bb7a5c5
stubbed Microsoft.Management.Infrastructure.Native.dll
2015-06-29 15:48:50 -07:00
Andrew Schwartzmeyer
bf62c60637
Update src/monad submodule to monad-sync1
...
At branch dev/undo-resx-changes
2015-06-26 11:36:48 -07:00
Andrew Schwartzmeyer
99de20d640
Update generate makefiles
...
Pulled gen and *.mk from \\win2012-ps-01\builds\makegenout\081853542dc16e4d5a354dbf648b0f6a918f0cca
2015-06-26 11:03:54 -07:00
Peter Honeder
1271569f52
forcing shellinaboxd port to 4201
2015-06-25 16:52:12 -07:00
Peter Honeder
bc5eb7613b
changed caching to off
2015-06-25 14:19:51 -07:00
Peter Honeder
e12cf2088e
added some debug output
2015-06-25 14:19:15 -07:00
Peter Honeder
9b37966175
changed base image and separated startup of shellinaboxd into separate script
2015-06-24 18:16:17 -07:00
Peter Honeder
b531c3af7e
removed sudo from docker calls, requires group membership now
2015-06-18 14:50:59 -07:00
Peter Honeder
4e8c596967
Merge pull request 46 from dev/76-interactive-shell into develop
2015-06-18 20:33:34 +00:00
Peter Honeder
0cd34830b1
Dockerfile and Makefile cleanup
2015-06-18 13:06:17 -07:00
Peter Honeder
7b2dca96c4
added get-current-ref.sh script
2015-06-18 10:27:51 -07:00
Peter Honeder
8e90f73867
bumping monad-ext to include xunit
2015-06-18 10:08:59 -07:00
Peter Honeder
b5dfaab12a
added a new host based on Sample06 from msdn, added docker testing support
2015-06-17 20:36:35 -07:00
Andrew Schwartzmeyer
8f96a9e786
Indent and whitespace cleanup powershell-run.cs
2015-06-17 11:38:42 -07:00
Andy Schwartzmeyer
9351c05c82
Merge pull request 38 from dev/33-DriveAutoMount into develop
2015-06-16 21:24:50 +00:00
Andy Schwartzmeyer
dd4006b544
Merge pull request 39 from dev/xunit-runner into develop
2015-06-16 21:23:41 +00:00
Peter Honeder
af23cbde92
Merge pull request 40 from dev/68-fix-make-depdendency-libps.so into develop
2015-06-16 21:22:05 +00:00
Peter Honeder
0b32836da7
bumped the monad-native submodule to a version that contains libps.so
2015-06-16 14:20:54 -07:00
Peter Honeder
1b02619b2d
added libps.so, added stub for GetUserName
2015-06-16 14:02:19 -07:00
Peter Honeder
f8f4b5e380
added libps.so, added stub for GetUserName
2015-06-16 14:02:19 -07:00
Andrew Schwartzmeyer
7761dd70e4
Refactor tests.mk with $(addprefix)
...
For less repitition
2015-06-16 11:40:57 -07:00
Andrew Schwartzmeyer
89126dfdf2
Add xunit runner target
...
Does not yet work, see #50
2015-06-16 11:40:57 -07:00
Andrew Schwartzmeyer
195f42bea5
Add unit test for HasDriveAutoMounting()
...
Cannot unit test SessionStateInternal.Drives() (where this feature query
is used) without a testable mock of PowerShell.
2015-06-15 15:17:15 -07:00
Andrew Schwartzmeyer
c42ba3bd56
Add unit tests for UsesCodeSignedAssemblies()
...
Used in MshSnapinInfo.PSSnapInReader
2015-06-15 11:23:18 -07:00
Andrew Schwartzmeyer
de2ccdb749
Merge branch 'develop' into dev/59-run-test
...
Fix merge conflict
2015-06-12 10:04:28 -07:00
Andrew Schwartzmeyer
f04ceeef00
Rename run-test target to test
...
Since `make test` is usually expected for running unit tests
2015-06-12 09:52:38 -07:00
Andrew Schwartzmeyer
7088108923
Add dependency to run-test needed for teardown
2015-06-12 09:51:58 -07:00
Andrew Schwartzmeyer
cd0d85049c
Factor run-test dependencies out of Makefile
...
- tests.mk includes all test related code except run-test target
- run-test moved after run target
- TEST_SRCS uses wildcard to collect files
- dotnetlibs/xunit* uses wildcard to copy dependencies for monad-ext
- not %.dll because of the soon to be used xunit.console.netcore.exe
2015-06-12 08:40:40 -07:00
Peter Honeder
bc32ce4bb1
Merge pull request 30 from dev/57-prefix-internal-rules into develop
2015-06-11 23:57:57 +00:00
Andrew Schwartzmeyer
f7ffcd561a
Add unit tests for HasAmsi()
2015-06-11 15:52:42 -07:00
Andrew Schwartzmeyer
13cccf51cc
Add unit tests for HasCom() and IsComObject()
...
Added using declartion for clarity to test_CorePsPlatform and made test
function naming scheme consistent.
Update monad submodule with feature query.
2015-06-11 15:27:36 -07:00
Peter Honeder
75f266ba10
added internal- prefix
2015-06-11 14:19:24 -07:00
Andrew Schwartzmeyer
99804642fc
Compile all unit tests into one shared dll
2015-06-11 14:17:12 -07:00
Andrew Schwartzmeyer
d9a0c8270f
Refactor unit tests
...
Splits unit tests into multiple files and a mock test runner (to be
replaced with the xUnit runner when it becomes available).
2015-06-11 13:47:35 -07:00
Peter Honeder
3ab9a20121
fixed PS shutdown issue by providing a pinvoke library for RegKeyClose because that's what CoreCLR on Linux requires
2015-06-10 15:02:11 -07:00
Peter Honeder
58cb4fce5c
added run-debugclr target that uses the debug build of CoreCLR
2015-06-10 14:01:04 -07:00
Peter Honeder
299083e1ed
updated makefiles to newly generated versions of linux-only makefiles without the windows build rules, removed hack from master Makefile
2015-06-10 13:24:30 -07:00
Peter Honeder
d3b0db0e01
Merge branch 'dev-build' into develop
2015-06-10 12:06:32 -07:00
Peter Honeder
3e0c5b7fa9
Merge branch 'dev-build' into develop
2015-06-10 12:03:02 -07:00
Peter Honeder
bfaca4ece6
Merge branch 'dev-build' into use-roslyn
...
Conflicts:
scripts/Makefile
2015-06-10 11:57:40 -07:00
Peter Honeder
0bbd43e3bf
renamed ps_hello_world.exe to powershell-run.exe
2015-06-10 11:45:37 -07:00
Peter Honeder
8180607684
Merge branch 'dev-build' into use-roslyn
...
Conflicts:
scripts/Makefile
2015-06-10 11:24:51 -07:00
Peter Honeder
4d273e71cc
adding and changing rules to use the roslyn compiler instead of mcs for the PS code
2015-06-10 11:12:08 -07:00
Peter Honeder
ba1df345fc
cleanup of Makefile
2015-06-10 11:11:41 -07:00
Peter Honeder
14627043d2
added more files to be ignored in the scripts directory
2015-06-10 11:10:24 -07:00
Peter Honeder
8f2cc8c829
changed paths to COREREF_2 assemblies
2015-06-10 11:03:51 -07:00
Andrew Schwartzmeyer
e4df047464
Use Xunit assertions
...
* Update monad-ext submodule with Xunit dlls
* Point Makefile xunit targets to monad-ext/xunit
* Add xunit.assert target to Makefile
* Add xunit.assert as dependency of ps_test.exe
* Add corerun as dependency of ps_test.exe
* Link ps_test.exe with xunit.assert
* Temporarily remove libps.so from ps_test.exe dependencies (WIP)
* Use Xunit in ps_test.cs
* Remove Assert mock
* Temporarily remove Platform.UserName (WIP)
With this patch, `make cleanall && make prepare && make run-test`
executes our (few) tests correctly using Xunit (without needing to `make
run` first).
2015-06-05 16:50:09 -07:00
Peter Honeder
f8189924e9
using management-infrastructure.mk instead of wmi-sources.mk
2015-06-04 12:41:18 -07:00