mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-24 23:25:58 +00:00
Fix iteropts test
This commit is contained in:
parent
8f8c0d26ef
commit
c05b07c314
@ -43,31 +43,31 @@
|
|||||||
|
|
||||||
#define LWIP_CHARGEN_APP 1
|
#define LWIP_CHARGEN_APP 1
|
||||||
#define LWIP_DNS_APP 1
|
#define LWIP_DNS_APP 1
|
||||||
#define LWIP_HTTPD_APP 1
|
#define LWIP_HTTPD_APP LWIP_TCP
|
||||||
/* Set this to 1 to use the netconn http server,
|
/* Set this to 1 to use the netconn http server,
|
||||||
* otherwise the raw api server will be used. */
|
* otherwise the raw api server will be used. */
|
||||||
/*#define LWIP_HTTPD_APP_NETCONN */
|
/*#define LWIP_HTTPD_APP_NETCONN */
|
||||||
#define LWIP_NETBIOS_APP 1
|
#define LWIP_NETBIOS_APP LWIP_IPV4 && LWIP_UDP
|
||||||
#define LWIP_NETIO_APP 1
|
#define LWIP_NETIO_APP 1
|
||||||
#define LWIP_MDNS_APP 1
|
#define LWIP_MDNS_APP LWIP_UDP
|
||||||
#define LWIP_MQTT_APP 1
|
#define LWIP_MQTT_APP LWIP_TCP
|
||||||
#define LWIP_PING_APP 1
|
#define LWIP_PING_APP 1
|
||||||
#define LWIP_RTP_APP 1
|
#define LWIP_RTP_APP 1
|
||||||
#define LWIP_SHELL_APP 1
|
#define LWIP_SHELL_APP LWIP_TCP
|
||||||
#define LWIP_SNMP_APP 1
|
#define LWIP_SNMP_APP LWIP_UDP
|
||||||
#define LWIP_SNTP_APP 1
|
#define LWIP_SNTP_APP LWIP_UDP
|
||||||
#define LWIP_SOCKET_EXAMPLES_APP 1
|
#define LWIP_SOCKET_EXAMPLES_APP 1
|
||||||
#define LWIP_TCPECHO_APP 1
|
#define LWIP_TCPECHO_APP LWIP_TCP
|
||||||
/* Set this to 1 to use the netconn tcpecho server,
|
/* Set this to 1 to use the netconn tcpecho server,
|
||||||
* otherwise the raw api server will be used. */
|
* otherwise the raw api server will be used. */
|
||||||
/*#define LWIP_TCPECHO_APP_NETCONN */
|
/*#define LWIP_TCPECHO_APP_NETCONN */
|
||||||
#define LWIP_TFTP_APP 1
|
#define LWIP_TFTP_APP LWIP_UDP
|
||||||
#define LWIP_TFTP_CLIENT_APP 1
|
#define LWIP_TFTP_CLIENT_APP LWIP_UDP
|
||||||
#define LWIP_UDPECHO_APP 1
|
#define LWIP_UDPECHO_APP LWIP_UDP
|
||||||
#define LWIP_LWIPERF_APP 1
|
#define LWIP_LWIPERF_APP LWIP_TCP
|
||||||
|
|
||||||
#define USE_DHCP 1
|
#define USE_DHCP LWIP_DHCP
|
||||||
#define USE_AUTOIP 1
|
#define USE_AUTOIP LWIP_AUTOIP
|
||||||
|
|
||||||
/* define this to your custom application-init function */
|
/* define this to your custom application-init function */
|
||||||
/* #define LWIP_APP_INIT my_app_init() */
|
/* #define LWIP_APP_INIT my_app_init() */
|
||||||
|
@ -71,8 +71,7 @@
|
|||||||
#define LWIP_MULTICAST_PING 0
|
#define LWIP_MULTICAST_PING 0
|
||||||
#define LWIP_RAW 0
|
#define LWIP_RAW 0
|
||||||
#define RAW_TTL (IP_DEFAULT_TTL)
|
#define RAW_TTL (IP_DEFAULT_TTL)
|
||||||
#define LWIP_DHCP 0
|
#define LWIP_DHCP 1
|
||||||
#define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP))
|
|
||||||
#define LWIP_DHCP_CHECK_LINK_UP 0
|
#define LWIP_DHCP_CHECK_LINK_UP 0
|
||||||
#define LWIP_DHCP_BOOTP_FILE 0
|
#define LWIP_DHCP_BOOTP_FILE 0
|
||||||
#define LWIP_DHCP_GET_NTP_SRV 0
|
#define LWIP_DHCP_GET_NTP_SRV 0
|
||||||
|
@ -71,8 +71,7 @@
|
|||||||
#define LWIP_MULTICAST_PING 0
|
#define LWIP_MULTICAST_PING 0
|
||||||
#define LWIP_RAW 0
|
#define LWIP_RAW 0
|
||||||
#define RAW_TTL (IP_DEFAULT_TTL)
|
#define RAW_TTL (IP_DEFAULT_TTL)
|
||||||
#define LWIP_DHCP 0
|
#define LWIP_DHCP LWIP_UDP
|
||||||
#define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP))
|
|
||||||
#define LWIP_DHCP_CHECK_LINK_UP 0
|
#define LWIP_DHCP_CHECK_LINK_UP 0
|
||||||
#define LWIP_DHCP_BOOTP_FILE 0
|
#define LWIP_DHCP_BOOTP_FILE 0
|
||||||
#define LWIP_DHCP_GET_NTP_SRV 0
|
#define LWIP_DHCP_GET_NTP_SRV 0
|
||||||
|
@ -71,8 +71,7 @@
|
|||||||
#define LWIP_MULTICAST_PING 0
|
#define LWIP_MULTICAST_PING 0
|
||||||
#define LWIP_RAW 0
|
#define LWIP_RAW 0
|
||||||
#define RAW_TTL (IP_DEFAULT_TTL)
|
#define RAW_TTL (IP_DEFAULT_TTL)
|
||||||
#define LWIP_DHCP 0
|
#define LWIP_DHCP LWIP_UDP
|
||||||
#define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP))
|
|
||||||
#define LWIP_DHCP_CHECK_LINK_UP 0
|
#define LWIP_DHCP_CHECK_LINK_UP 0
|
||||||
#define LWIP_DHCP_BOOTP_FILE 0
|
#define LWIP_DHCP_BOOTP_FILE 0
|
||||||
#define LWIP_DHCP_GET_NTP_SRV 0
|
#define LWIP_DHCP_GET_NTP_SRV 0
|
||||||
|
@ -72,7 +72,6 @@
|
|||||||
#define LWIP_RAW 0
|
#define LWIP_RAW 0
|
||||||
#define RAW_TTL (IP_DEFAULT_TTL)
|
#define RAW_TTL (IP_DEFAULT_TTL)
|
||||||
#define LWIP_DHCP 0
|
#define LWIP_DHCP 0
|
||||||
#define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP))
|
|
||||||
#define LWIP_DHCP_CHECK_LINK_UP 0
|
#define LWIP_DHCP_CHECK_LINK_UP 0
|
||||||
#define LWIP_DHCP_BOOTP_FILE 0
|
#define LWIP_DHCP_BOOTP_FILE 0
|
||||||
#define LWIP_DHCP_GET_NTP_SRV 0
|
#define LWIP_DHCP_GET_NTP_SRV 0
|
||||||
|
@ -71,8 +71,7 @@
|
|||||||
#define LWIP_MULTICAST_PING 0
|
#define LWIP_MULTICAST_PING 0
|
||||||
#define LWIP_RAW 0
|
#define LWIP_RAW 0
|
||||||
#define RAW_TTL (IP_DEFAULT_TTL)
|
#define RAW_TTL (IP_DEFAULT_TTL)
|
||||||
#define LWIP_DHCP 0
|
#define LWIP_DHCP 1
|
||||||
#define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP))
|
|
||||||
#define LWIP_DHCP_CHECK_LINK_UP 0
|
#define LWIP_DHCP_CHECK_LINK_UP 0
|
||||||
#define LWIP_DHCP_BOOTP_FILE 0
|
#define LWIP_DHCP_BOOTP_FILE 0
|
||||||
#define LWIP_DHCP_GET_NTP_SRV 0
|
#define LWIP_DHCP_GET_NTP_SRV 0
|
||||||
|
@ -71,8 +71,7 @@
|
|||||||
#define LWIP_MULTICAST_PING 0
|
#define LWIP_MULTICAST_PING 0
|
||||||
#define LWIP_RAW 0
|
#define LWIP_RAW 0
|
||||||
#define RAW_TTL (IP_DEFAULT_TTL)
|
#define RAW_TTL (IP_DEFAULT_TTL)
|
||||||
#define LWIP_DHCP 0
|
#define LWIP_DHCP 1
|
||||||
#define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP))
|
|
||||||
#define LWIP_DHCP_CHECK_LINK_UP 0
|
#define LWIP_DHCP_CHECK_LINK_UP 0
|
||||||
#define LWIP_DHCP_BOOTP_FILE 0
|
#define LWIP_DHCP_BOOTP_FILE 0
|
||||||
#define LWIP_DHCP_GET_NTP_SRV 0
|
#define LWIP_DHCP_GET_NTP_SRV 0
|
||||||
|
@ -72,7 +72,6 @@
|
|||||||
#define LWIP_RAW 0
|
#define LWIP_RAW 0
|
||||||
#define RAW_TTL (IP_DEFAULT_TTL)
|
#define RAW_TTL (IP_DEFAULT_TTL)
|
||||||
#define LWIP_DHCP 0
|
#define LWIP_DHCP 0
|
||||||
#define DHCP_DOES_ARP_CHECK ((LWIP_DHCP) && (LWIP_ARP))
|
|
||||||
#define LWIP_DHCP_CHECK_LINK_UP 0
|
#define LWIP_DHCP_CHECK_LINK_UP 0
|
||||||
#define LWIP_DHCP_BOOTP_FILE 0
|
#define LWIP_DHCP_BOOTP_FILE 0
|
||||||
#define LWIP_DHCP_GET_NTP_SRV 0
|
#define LWIP_DHCP_GET_NTP_SRV 0
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
LOGFILE=iteropts.log
|
LOGFILE=iteropts.log
|
||||||
EXAPPDIR=../../../examples/example_app
|
EXAPPDIR=../../../examples/example_app
|
||||||
|
RETVAL=0
|
||||||
|
|
||||||
pushd `dirname "$0"`
|
pushd `dirname "$0"`
|
||||||
pwd
|
pwd
|
||||||
@ -16,9 +17,10 @@ do
|
|||||||
rm $EXAPPDIR/lwipopts_test.h
|
rm $EXAPPDIR/lwipopts_test.h
|
||||||
# cat the file to update its timestamp
|
# cat the file to update its timestamp
|
||||||
cat $f > $EXAPPDIR/lwipopts_test.h
|
cat $f > $EXAPPDIR/lwipopts_test.h
|
||||||
make TESTFLAGS=-DLWIP_OPTTEST_FILE -j 8 &> $BUILDLOG 2>&1 || echo file $f failed >> $LOGFILE; cat $BUILDLOG
|
make TESTFLAGS=-DLWIP_OPTTEST_FILE -j 8 &> $BUILDLOG 2>&1 || (RETVAL=1; echo file $f failed >> $LOGFILE; echo ++++++++ $f FAILED +++++++; cat $BUILDLOG)
|
||||||
echo test $f done >> $LOGFILE
|
echo test $f done >> $LOGFILE
|
||||||
done
|
done
|
||||||
echo done, cleaning
|
echo done, cleaning
|
||||||
make clean
|
make clean
|
||||||
popd
|
popd
|
||||||
|
exit $RETVAL
|
||||||
|
Loading…
Reference in New Issue
Block a user