mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
cleanup, libjsengine
This commit is contained in:
parent
81d7d0874e
commit
189c0d460b
@ -25,7 +25,7 @@ add_subdirectory(libethereum)
|
|||||||
add_subdirectory(libevm)
|
add_subdirectory(libevm)
|
||||||
add_subdirectory(libnatspec)
|
add_subdirectory(libnatspec)
|
||||||
add_subdirectory(libp2p)
|
add_subdirectory(libp2p)
|
||||||
add_subdirectory(libethconsole)
|
add_subdirectory(libjsengine)
|
||||||
|
|
||||||
if (SOLIDITY)
|
if (SOLIDITY)
|
||||||
add_subdirectory(libsolidity)
|
add_subdirectory(libsolidity)
|
||||||
@ -68,7 +68,7 @@ target_link_libraries(testeth ${CURL_LIBRARIES})
|
|||||||
target_link_libraries(testeth ethereum)
|
target_link_libraries(testeth ethereum)
|
||||||
target_link_libraries(testeth ethcore)
|
target_link_libraries(testeth ethcore)
|
||||||
target_link_libraries(testeth secp256k1)
|
target_link_libraries(testeth secp256k1)
|
||||||
target_link_libraries(testeth ethconsole)
|
target_link_libraries(testeth jsengine)
|
||||||
if (SOLIDITY)
|
if (SOLIDITY)
|
||||||
target_link_libraries(testeth solidity)
|
target_link_libraries(testeth solidity)
|
||||||
endif ()
|
endif ()
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
cmake_policy(SET CMP0015 NEW)
|
|
||||||
|
|
||||||
aux_source_directory(. SRCS)
|
|
||||||
|
|
||||||
add_sources(${SRCS})
|
|
||||||
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
|||||||
//
|
|
||||||
// Created by Marek Kotewicz on 27/04/15.
|
|
||||||
//
|
|
||||||
|
|
||||||
#include <boost/test/unit_test.hpp>
|
|
||||||
#include "../../libethconsole/JSV8ScopeBase.h"
|
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
using namespace dev;
|
|
||||||
using namespace dev::eth;
|
|
||||||
|
|
||||||
BOOST_AUTO_TEST_SUITE(jsscope)
|
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE(common)
|
|
||||||
{
|
|
||||||
JSV8ScopeBase scope;
|
|
||||||
string result = scope.evaluate("1 + 1");
|
|
||||||
BOOST_CHECK_EQUAL(result, "2");
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOST_AUTO_TEST_SUITE_END()
|
|
Loading…
Reference in New Issue
Block a user