运行和验证

操作步骤

  1. 使用PuTTY工具,以root用户登录服务器。
  2. 执行以下命令验证sparsehash。

    cd /path/to/sparsehash/sparsehash-sparsehash-2.0.4
    ./hashtable_test
    ./libc_allocator_with_realloc_test
    ./simple_compat_test
    ./simple_test
    ./sparsetable_unittest
    ./template_util_unittest
    ./type_traits_unittest

    以上程序的运行回显结果为pass。

    ./time_hash_map

    回显显示信息如下图所示。