]> git.lyx.org Git - features.git/commitdiff
Resurrect make check from dead.
authorPavel Sanda <sanda@lyx.org>
Fri, 16 May 2008 17:14:42 +0000 (17:14 +0000)
committerPavel Sanda <sanda@lyx.org>
Fri, 16 May 2008 17:14:42 +0000 (17:14 +0000)
LASSERT was pulling dependency hell for the test.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24805 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/tests/boost.cpp

index 2efd98926e4c533908b1b115c07d603f6bf8c0b9..577c911a9503a501dcae0210732ff8ee49a08ef8 100644 (file)
 
 #include <config.h>
 
-#include "support/lassert.h"
-
-#include <cstdlib>
-#include <exception>
+#include <iostream>
+#include <boost/assert.hpp>
 
 using namespace std;
 
@@ -22,7 +20,8 @@ namespace boost {
 #ifndef BOOST_NO_EXCEPTIONS
 void throw_exception(exception const & /*e*/)
 {
-       LASSERT(false, /**/);
+       cerr<<"ASSERTION VIOLATED IN biblio test";
+       BOOST_ASSERT(false);
 }
 #endif