You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are now in a position to install xeus-cpp into this environment. You can do this by executing
38
+
Now you can compile the kernel from the source and run the C++ tests by executing (replace `$CONDA_PREFIX` with a custom installation prefix if need be)
To test the lite build you can execute the following to run the C++ tests built against emscripten in node
98
-
99
-
```bash
100
-
cdtest
101
-
node test_xeus_cpp.js
94
+
emmake make check-xeus-cpp
102
95
```
103
96
104
97
It is possible to run the Emscripten tests in a headless browser. We will run our tests in a fresh installed browser. Installing the browsers, and running the tests within the installed browsers will be platform dependent. To do this for Chrome and Firefox on MacOS execute the following
@@ -155,6 +148,12 @@ echo "Running test_xeus_cpp in Google Chrome"
Now you can compile the kernel from the source by executing (replace `$CONDA_PREFIX` with a custom installation prefix if need be)
60
+
Now you can compile the kernel from the source and run the C++ tests by executing (replace `$CONDA_PREFIX` with a custom installation prefix if need be)
To test the lite build you can execute the following to run the C++ tests built against emscripten in node
114
-
115
-
```bash
116
-
cdtest
117
-
node test_xeus_cpp.js
109
+
emmake make check-xeus-cpp
118
110
```
119
111
120
112
It is possible to run the Emscripten tests in a headless browser. We will run our tests in a fresh installed browser. Installing the browsers, and running the tests within the installed browsers will be platform dependent. To do this for Chrome and Firefox on MacOS execute the following
@@ -171,6 +163,12 @@ echo "Running test_xeus_cpp in Google Chrome"
To test the lite build you can execute the following to run the C++ tests built against emscripten in node
79
-
80
-
.. code-block:: bash
81
-
82
-
cdtest
83
-
node test_xeus_cpp.js
82
+
emcmake cmake \
83
+
-DCMAKE_BUILD_TYPE=Release \
84
+
-DCMAKE_INSTALL_PREFIX=$PREFIX \
85
+
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
86
+
-DCMAKE_FIND_ROOT_PATH=$PREFIX \
87
+
-DSYSROOT_PATH=$SYSROOT_PATH \
88
+
..
89
+
emmake make check-xeus-cpp
84
90
85
91
It is possible to run the Emscripten tests in a headless browser. We will run our tests in a fresh installed browser. Installing the browsers, and running the tests within the installed browsers will be platform dependent. To do this for Chrome and Firefox on MacOS execute the following
86
92
@@ -136,6 +142,12 @@ To do this on Ubuntu x86 execute the following
0 commit comments