9 Commits
Author SHA1 Message Date
Rolf Bjarne Kvinge 632bb59b21 [System] Implement a helper function to create unique temporary directories and use it in tests. (#11831)
While working on PR #11829 I stress-tested the tests by running multiple test
runs in parallel, and it turned out that many tests were not parallel-safe,
because they used the same temporary file names and ended up stomping on
eachother.

So I implemented a helper method that creates a guaranteed unique temporary
directory, and I've changed all tests to use this new helper method.
2018-12-04 16:43:23 +01:00
Alexander Köplinger 9f5b8c4cf2 Rename the mobile_static profile to aot_only
We decided it's a better name since we're using the profile to
test FullAOT scenarios on desktop (as opposed to the mobile profiles).

While doing the rename I saw that a lot of the #ifdefs were using
MOBILE_STATIC even though the code should actually be included/excluded
in all FullAOT scenarios, e.g. System.Reflection.Emit. I replaced those
cases with FULL_AOT_RUNTIME instead.

For cases where code is specific to this profile, I added a new
AOT_ONLY_DESKTOP define.
2016-11-24 17:40:54 +01:00
Alexander Kyte 540e26a05b [mobile_static] Add MOBILE_STATIC to preprocessor guard 2016-07-02 21:33:06 -04:00
Alexander Köplinger 746650d1b9 [bcl] Remove more NET_2_0 checks from class libs 2015-01-17 05:45:39 +01:00
Marek Safar f0ad346fb6 Mobile tests update 2013-02-22 21:41:19 +01:00
Atsushi Eno 0ec21c0ebf 2008-06-11 Atsushi Enomoto <[email protected]>
* FileVersionInfoTest.cs : disabled all English-Windows-dependent
	  tests. They all fail on Windows whose language is not English.

	  In general, be careful to compare language-dependent strings.


svn path=/trunk/mcs/; revision=105572
2008-06-11 12:19:48 +00:00
Gert Driesen 2c28446e16 * FileVerionInfoTest.cs: Enabled test for bug #374600.
svn path=/trunk/mcs/; revision=101101
2008-04-18 08:51:05 +00:00
Gert Driesen 4d4b86ad93 * FileVersionInfoTest.cs: Enabled tests that previously failed.
Increase code coverage.

svn path=/trunk/mcs/; revision=99283
2008-03-29 12:39:22 +00:00
Gert Driesen 3009758b4d * FileVersionInfoTest.cs: Added set of (mostly notworking) tests for
FileVersionInfo, and indirectly also for AssemblyBuilder.
* FileVersionInfo.cs (GetVersionInfo): Resolve filename to absolute
path, and throw FileNotFoundException if it does not exist.
* System_test.dll.sources: Added FileVersionInfoTest.cs.

svn path=/trunk/mcs/; revision=93643
2008-01-23 12:39:43 +00:00