mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 14:35:07 -05:00
test: fix samplefilt unit test to work with low-precision clock
This commit is contained in:
@@ -18,9 +18,13 @@
|
|||||||
**********************************************************************
|
**********************************************************************
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <samplefilt.c>
|
#include <local.h>
|
||||||
#include "test.h"
|
#include "test.h"
|
||||||
|
|
||||||
|
#define LCL_GetSysPrecisionAsQuantum() (1.0e-6)
|
||||||
|
|
||||||
|
#include <samplefilt.c>
|
||||||
|
|
||||||
void
|
void
|
||||||
test_unit(void)
|
test_unit(void)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user