[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]

Re: [PATCH] skip testing time before epoch on mips

2021-03-08 Thread YunQiang Su via Gcc-patches
Jonathan Wakely via Gcc-patches 于2021年3月8日周一 下午6:57写道: > > On 08/03/21 14:35 +0800, Chen Li wrote: > > > >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 ti

Re: [PATCH] skip testing time before epoch on mips

2021-03-08 Thread Jonathan Wakely via Gcc-patches
On 08/03/21 14:35 +0800, Chen Li wrote: 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

Re: [PATCH] skip testing time before epoch on mips

2021-03-07 Thread YunQiang Su via Gcc-patches
Chen Li 于2021年3月8日周一 下午2:35写道: > > > 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

[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]