diff options
author | Drew Risinger <drewrisinger@users.noreply.github.com> | 2020-04-06 18:26:08 -0400 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-04-07 18:41:16 -0700 |
commit | 09cd8b63b0e47c382cc5b8aa507af80b54db4ff3 (patch) | |
tree | e6a4fa1b4b4a8857573bf43a21ab4ff3ae2d90b6 /pkgs/development/python-modules | |
parent | e6b50a24b78b393fd3ffb06aa4ccb146cbbdd92b (diff) | |
download | nixpkgs-09cd8b63b0e47c382cc5b8aa507af80b54db4ff3.tar nixpkgs-09cd8b63b0e47c382cc5b8aa507af80b54db4ff3.tar.gz nixpkgs-09cd8b63b0e47c382cc5b8aa507af80b54db4ff3.tar.bz2 nixpkgs-09cd8b63b0e47c382cc5b8aa507af80b54db4ff3.tar.lz nixpkgs-09cd8b63b0e47c382cc5b8aa507af80b54db4ff3.tar.xz nixpkgs-09cd8b63b0e47c382cc5b8aa507af80b54db4ff3.tar.zst nixpkgs-09cd8b63b0e47c382cc5b8aa507af80b54db4ff3.zip |
python3Packages.qiskit-aqua: disable slow tests
Arbitrarily disable any tests > 10s on my machine to lighten the build load (both for borg CI & Hydra builds). All disabled slow tests pass locally.
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/qiskit-aqua/default.nix | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/pkgs/development/python-modules/qiskit-aqua/default.nix b/pkgs/development/python-modules/qiskit-aqua/default.nix index 98c3e2457c1..ee01a5c4cb5 100644 --- a/pkgs/development/python-modules/qiskit-aqua/default.nix +++ b/pkgs/development/python-modules/qiskit-aqua/default.nix @@ -85,27 +85,41 @@ buildPythonPackage rec { "--ignore=test/chemistry/test_qeom_vqe.py" "--ignore=test/chemistry/test_vqe_uccsd_adapt.py" - # following tend to be slow tests, all pass - "--ignore-glob=*vqc.py" - "--ignore-glob=*hhl.py" - "--ignore-glob=*qgan.py" + # Following tend to be slow tests, all pass + "--ignore=test/aqua/test_vqc.py" + "--ignore=test/aqua/test_hhl.py" + "--ignore=test/aqua/test_qgan.py" + "--ignore=test/aqua/test_mcr.py" + "--ignore=test/aqua/test_mcu1.py" + "--ignore=test/aqua/test_vqe.py" ]; disabledTests = [ # Disabled due to missing pyscf "test_validate" # test/chemistry/test_inputparser.py - # Disabling slow tests > 1 min - "test_qsvm_multiclass_error_correcting_code" - "test_vqe_qasm" - "test_qgan_training" - "test_qgan_training_run_algo_numpy" - "test_shor_factoring_0" - "test_lookup_rotation_4" - "test_lookup_rotation_neg_4" - "test_mcrz_11" + # Disabling slow tests > 10 seconds + "test_clique_vqe" + "test_delta_3_qasm" + "test_evaluate_qasm_mode" "test_evolve_1_suzuki" + "test_exact_cover_vqe" + "test_exchangedata" + "test_expected_value_0_statevector" + "test_expected_value_1_qasm" + "test_expected_value_2_statevector" + "test_graph_partition_vqe" + "test_lookup_rotation" "test_mct_with_dirty_ancillae_15" + "test_mcrz_11" + "test_measurement_error_mitigation_auto_refresh" + "test_qgan_training" + "test_qsvm_multiclass" + "test_shor_factoring_0" + "test_vertex_cover_vqe" "test_vqc_with_raw_feature_vector_on_wine" + "test_vqe_2_iqpe" + "test_vqe_qasm" + "test_wikipedia" ]; meta = with lib; { |