mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 557470 make check in xpcom/tests/ is not portable on Solaris r=ted.mielczarek
This commit is contained in:
parent
a3f7ed876f
commit
bcf64f198e
@ -206,11 +206,11 @@ endif
|
||||
check::
|
||||
@echo "Running XPIDL tests"
|
||||
$(XPIDL_COMPILE) -m header $(srcdir)/TestScriptable.idl
|
||||
@if grep Notscriptable TestScriptable.h | grep -q NS_SCRIPTABLE ; then \
|
||||
@if grep Notscriptable TestScriptable.h | grep NS_SCRIPTABLE >/dev/null 2>&1 ; then \
|
||||
echo "Nonscriptable object marked scriptable by xpidl"; \
|
||||
exit 1; \
|
||||
fi
|
||||
@if test $$( grep 'NS_IMETHOD[^I].*Scriptable' TestScriptable.h | grep -v -c NS_SCRIPTABLE ) != 0 ; then \
|
||||
@if test `grep 'NS_IMETHOD[^I].*Scriptable' TestScriptable.h | grep -v -c NS_SCRIPTABLE` -ne 0 ; then \
|
||||
echo "Scriptable object marked nonscriptable by xpidl"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user