Commit Graph

2811 Commits

Author SHA1 Message Date
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
Peter Honeder
7193ae5fda added prepare rule as a hack to have correct timestamps for make for now 2015-06-03 16:49:46 -07:00
Peter Honeder
92a4892020 Merge branch 'dev-system-automation.mk' into dev-build 2015-06-03 16:33:36 -07:00
Peter Honeder
0fc369dcb6 linking in string resources files 2015-06-03 16:33:08 -07:00
Peter Honeder
ae9b8fecea compile time changes to enable system-automation.mk 2015-06-03 15:16:31 -07:00
Peter Honeder
83fcd1f18c fixed dependencies of run target to include modules 2015-06-03 11:12:50 -07:00
Peter Honeder
7467627d3f moved temporary string resources for SMA.dll to string_resources folder, until system-automation.mk is enabled 2015-06-03 11:02:51 -07:00
Peter Honeder
b83e3a77c7 updated makefile with more comments 2015-06-03 10:33:16 -07:00
Peter Honeder
8c6befb41c latest build udpates to have selfhosted builds 2015-06-01 15:49:30 -07:00
Peter Honeder
bcd0b1807b added empty gitignore to create folder 2015-05-29 14:33:02 -07:00
Peter Honeder
d91252ab52 bulk add of all build changes and resources needed to build PS on linux 2015-05-29 13:56:28 -07:00
stephentoub
1c6cd1d37e Fix exitCode from ExecuteAssembly
ExecuteAssembly is initializing exitCode to 0 on entrance to the function.  If it then fails prior to exitCode being set when invoking the entry point, the exitCode remains 0 even though there was a failure, and corerun ends up returning a successful exit code.
2015-05-29 10:22:20 -04:00
Anders Jensen-Waud
accac3138e Fix unixcoreruncommon build error on FreeBSD
Needed cstdlib to build properly
2015-05-01 11:16:53 +10:00
Aditya Mandaleeka
95450a16ed Add Unix version of coreconsole.
Created a Unix version of coreconsole which, like the Windows version,
is similar to corerun but runs the managed binary with the same name as
the executable (but with the DLL extension). Moved code that is common
between corerun and coreconsole to coreruncommon.

Remove the workaround for the XCode 6.3 SDK issue wherein some of the
system headers that we reference try to include a __debug header which
does not exist. The 6.3.1 update fixed that issue so the workaround is no
longer required.

Fix #747
2015-04-28 18:06:26 -07:00
Aaron Katz
439381cbf6 changed spacing 2015-04-09 15:23:57 -07:00
Aaron Katz
e9a2a2d8a2 changed spacing 2015-04-09 15:23:57 -07:00
Aaron Katz
0245ab771e changed spacing and using std::string instead of TCHAR 2015-04-09 15:16:37 -07:00
Aaron Katz
299e362d11 changed spacing and using std::string instead of TCHAR 2015-04-09 15:16:37 -07:00
Aaron Katz
6c716b6fa0 Changes to spacing 2015-04-09 14:51:10 -07:00
Aaron Katz
a0f238906b Changes to spacing 2015-04-09 14:51:10 -07:00
Aaron Katz
03eae4653a changes based on comments 2015-04-06 09:57:16 -07:00
Aaron Katz
ea7b78ef1c changes based on comments 2015-04-06 09:57:16 -07:00
Pete Baker
82d119f94c Merge pull request 11 from feature/getcurrentthreadid into develop 2015-04-03 18:12:32 +00:00
Aaron Katz
c84dfa9b63 Changes from notes 2015-04-03 11:06:30 -07:00
Aaron Katz
6194094244 Changes from notes 2015-04-03 11:06:30 -07:00
Peter Honeder
e46e44d701 fetched changes from branch feature/GetComputerName 2015-04-03 10:22:05 -07:00
Peter Honeder
70645d5bc1 fetched changes from branch feature/GetComputerName 2015-04-03 10:22:05 -07:00
Peter Honeder
9f4c6d3e02 added build files and folders to gitignore 2015-04-03 10:19:17 -07:00
Aaron Katz
82c111c6c2 code for cpinfo 2015-03-20 10:07:06 -07:00
Aaron Katz
ac95206250 code for cpinfo 2015-03-20 10:07:06 -07:00
Pete Baker
0c5f78a223 built and tested - pass 2015-03-19 13:09:36 -07:00