-
Notifications
You must be signed in to change notification settings - Fork 0
Building and testing Agent
Vladimir Almaev edited this page Jul 9, 2015
·
8 revisions
This document describes how to build and test comnsense agent on Windows. It is recommended that you use a 32-bit version of Python for the sake of compatibility.
- Install the requirements listed below
- Run
comnsense/agent/bin/comnsense-agentwith a 32-bit version of Python
- PyQt4
- It is needed to use py2exe == 0.6.9 due to this errors
- zmq should be installed via whl file
- Tornado
pip install tornado - Enum
pip install enum34 - msgpack
pip install msgpack-python
- go to agent subdirectory
- run
python setup.py py2exe
This will create a folder dist where exe files reside.
- move the
distfolder to whatever machine you want to install the agent at. - go to
dist - run
comnsense-tray.exe - you should see new item in tray with Exit action in the context menu
- run
pip install pytest - run
pip install pytest-allure-adaptor - run
pip install mock - go to agent subdirectory
- run
python runtests.py
- Process Explorer - show process tree, threads, strings, stacks, network connections.
- Handle - show open descriptors.