[PATCH] skip testing time before epoch on mips

2021-03-09 Thread Chen Li
When execute libstdc++ testcases on mips, I notice that last_write_time alawys failed, and the failed VERIFY is "VERIFY( approx_equal(last_write_time(f.path), time) );" where testing time before than epoch. Below is the minimal case: ``` // gcc a.c int main() { struct timespec times[2]

[PATCH] skip testing time before epoch on mips

2021-03-07 Thread Chen Li
When execute libstdc++ testcases on mips, I notice that last_write_time alawys failed, and the failed VERIFY is "VERIFY( approx_equal(last_write_time(f.path), time) );" where testing time before than epoch. Below is the minimal case: ``` // gcc a.c int main() { struct timespec times[2]