[lldb/test] Disable NSDate format check under _WIN32
authorVedant Kumar <vsk@apple.com>
Mon, 18 May 2020 23:37:04 +0000 (16:37 -0700)
committerVedant Kumar <vsk@apple.com>
Mon, 18 May 2020 23:51:47 +0000 (16:51 -0700)
commite3aa4cd9dbcee6441f51102e3958c35321698c67
tree8ca92cda0e198bdd69550903c453ec014648042a
parente3e15836af79cbcfe452624caf326b854781abdd
[lldb/test] Disable NSDate format check under _WIN32

Disable the test which attempts to format an NSDate with a date_value of
0 on _WIN32.

When _WIN32 is defined, GetOSXEpoch returns a date that should be in
2001, but after this is passed through timegm (which, afaict isn't
portable?) the result is a date in 1970:

```
lldb-x64-windows-ninja\llvm-project\lldb\unittests\DataFormatter\MockTests.cpp(39): error:       Expected: *formatDateValue(0)
      Which is: "1970-01-01 00:00:00 Pacific Standard Time"
      To be equal to: "2001-01-01 00:00:00 UTC"
```

http://lab.llvm.org:8011/builders/lldb-aarch64-ubuntu/builds/4520/steps/test/logs/stdio
lldb/unittests/DataFormatter/MockTests.cpp