File tree Expand file tree Collapse file tree 3 files changed +32
-14
lines changed Expand file tree Collapse file tree 3 files changed +32
-14
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : freeBSD
2
+ on :
3
+ schedule :
4
+ - cron : ' 0 0 * * 0'
5
+ push :
6
+ branches :
7
+ - master
8
+ pull_request :
9
+ branches :
10
+ - master
11
+ jobs :
12
+ freebsd :
13
+ runs-on : ubuntu-latest
14
+ name : FreeBSD
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - name : Test FreeBSD
18
+ id : test
19
+ uses : vmactions/freebsd-vm@v1
20
+ with :
21
+ usesh : true
22
+ prepare : |
23
+ pkg install -y git cmake
24
+ run : |
25
+ pwd
26
+ mkdir build && cd build
27
+ cmake -DSANITIZER=address .. && make && make check && rm -rf *
28
+ cmake -DSANITIZER=undefined .. && make && make check
Original file line number Diff line number Diff line change @@ -1509,7 +1509,7 @@ void test_poll_edge(void)
1509
1509
& clt );
1510
1510
assert (rc == 0 );
1511
1511
1512
- sc_time_sleep (50 );
1512
+ sc_time_sleep (250 );
1513
1513
count = sc_sock_poll_wait (& p , timeout );
1514
1514
assert (count >= 2 );
1515
1515
found = 0 ;
@@ -1553,7 +1553,7 @@ void test_poll_edge(void)
1553
1553
& acc );
1554
1554
assert (rc == 0 );
1555
1555
1556
- sc_time_sleep (50 );
1556
+ sc_time_sleep (250 );
1557
1557
count = sc_sock_poll_wait (& p , timeout );
1558
1558
assert (count >= 1 );
1559
1559
found = 0 ;
@@ -1589,7 +1589,7 @@ void test_poll_edge(void)
1589
1589
assert (total_w > 0 );
1590
1590
1591
1591
do {
1592
- sc_time_sleep (50 );
1592
+ sc_time_sleep (250 );
1593
1593
count = sc_sock_poll_wait (& p , timeout );
1594
1594
assert (count >= 1 );
1595
1595
found = 0 ;
@@ -1628,7 +1628,7 @@ void test_poll_edge(void)
1628
1628
} while (total_r < total_w );
1629
1629
assert (total_r == total_w );
1630
1630
1631
- sc_time_sleep (50 );
1631
+ sc_time_sleep (250 );
1632
1632
count = sc_sock_poll_wait (& p , timeout );
1633
1633
assert (count >= 1 );
1634
1634
found = 0 ;
You can’t perform that action at this time.
0 commit comments