We do use AT_XFAIL_IF in tests:

grep AT_XFAIL_IF *.at

json.at:   AT_XFAIL_IF([$PYTHON -c "exit(len(u'\U00010800'))"; test $? -ne 1])
ofproto-dpif.at:  [AT_XFAIL_IF([test "$IS_WIN32" = "yes"])
ofproto-dpif.at:AT_XFAIL_IF([test "$IS_WIN32" = "yes"])
ofproto-dpif.at:AT_XFAIL_IF([test "$IS_WIN32" = "yes"])
ofproto-dpif.at:AT_XFAIL_IF([test "$IS_WIN32" = "yes"])

All the invocations in ofproto-dpif are for sflow. I think the
rationale for that from you long time ago was that, this test is
supposed to fail because it is not supported and some day we may
support it. Otherwise, we will forget about the missing feature.

On Mon, Jul 27, 2015 at 3:30 PM, Ben Pfaff <b...@nicira.com> wrote:
> On Mon, Jul 27, 2015 at 01:44:34PM -0700, Gurucharan Shetty wrote:
>> sflow is not supported on Windows. So skip the
>> test.
>>
>> Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
>
> AT_XFAIL_IF and AT_SKIP_IF are different.  I think we only use the
> latter so far.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to